字符码的大小问题

wanb123 2007-06-04 09:41:31
Private Function subString(theStart,theLen)
dim i,c,stemp
ObjStream.Position=theStart-1
stemp=""
for i=1 to theLen
if upfile_classes_Stream.EOS then Exit for
c=ascB(upObjStream.Read(1))‘stream对象的指针的位置怎么移动
If c > 127 Then
if upfile_classes_Stream.EOS then Exit for
stemp=stemp&Chr(AscW(ChrB(AscB(ObjStream.Read(1)))&ChrB(c)))'这里不是很清楚,请帮解释下。
i=i+1
else
stemp=stemp&Chr(c)
End If
Next
subString=stemp
End function
...全文
132 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

28,404

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧