如何对byte()进行累加和?

yrh2847189 2006-08-17 12:01:39
rt
...全文
532 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
newline2000 2006-09-20
  • 打赏
  • 举报
回复
dim i as byte
dim bytes() as byte
dim x as int32
for each i in bytes()
x+=cint(chr(i))
next
newline2000 2006-09-20
  • 打赏
  • 举报
回复
dim i as byte
dim bytes() as byte
dim x as int32
for each i in bytes()
x+=cint(i.tostring)
next
newline2000 2006-09-20
  • 打赏
  • 举报
回复
dim i as byte
dim bytes() as byte
dim x as int32
for each i in bytes()
x+=i
next
stcrane 2006-09-20
  • 打赏
  • 举报
回复
关注!

16,720

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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