请帮我看看下面这段代码的意思,谢谢啊!!
请大家帮我仔细讲讲下面两段代码的含义,谢谢!
Public Function Word_Byte(S_Data As Long) As Variant
Dim t(2) As Byte
t(0) = CByte(S_Data Mod 256)
t(1) = CByte(S_Data \ 256)
Word_Byte = Array(t(0), t(1))
End Function
Public Function sbyte_word(strg() As Byte, Sit As Variant) As Long
On Error GoTo sberexit
sbyte_word = (strg(Sit) - 48) * 10 + (strg(Sit + 1) - 48)
GoTo sbw_exit
sberexit:
sbyte_word = 0
sbw_exit:
End Function
Public Function Word_Byte(S_Data As Long) As Variant
Dim t(2) As Byte
t(0) = CByte(S_Data Mod 256)
t(1) = CByte(S_Data \ 256)
Word_Byte = Array(t(0), t(1))
End Function
Public Function sbyte_word(strg() As Byte, Sit As Variant) As Long
On Error GoTo sberexit
sbyte_word = (strg(Sit) - 48) * 10 + (strg(Sit + 1) - 48)
GoTo sbw_exit
sberexit:
sbyte_word = 0
sbw_exit:
End Function
...全文
相关推荐
js中!和!!的区别与用法
= '') { // a有内容才执行的代码}```这段代码可以简化为:```javascriptif (!!a) { // a有内容才执行的代码...}```这里的`!!
两个握手包,哪位大侠能帮我跑下!THX!!
两个握手包,哪位大侠能帮我跑下,我机子跑的太慢了:(十分十分十分感谢!!
kotlin代码中!!操作符的清楚方法
下面我们将深入探讨几种在Kotlin中减少或消除`!!`使用的方法。首先,Kotlin的一大特色是它的空安全机制。
四招帮你尽快提高公文起草能力,纯干货!!参考.doc
四招帮你尽快提高公文起草能力,纯干货!!参考.doc
信息作业请不要下载!!
信息作业请不要下载!!


VB基础类
