重点在於使用LSet的方式将某个Structure Copy 到另外的Structure Private Type A_Double dblValue as Double End Type Private type a_ByteAry ByteVal(0 to 7) as Byte End Type Private Sub Form_Load() Dim dbl As A_Double, i As Long Dim byteAry As a_ByteAry dbl.dblValue = 5.1 LSet byteAry = dbl For i = 0 To 7 Debug.Print byteAry.ByteVal(i) Next i End Sub |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-4 05:17 , Processed in 0.058187 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.