Home > Software engineering >  Please help explain a look at this code about open dat file
Please help explain a look at this code about open dat file

Time:10-14

Type DSJZHH
Xu As Long
Sj (1 To 14) As Byte
End Type

Dim DQSJ As DSJZHH
Open the App. The Path & amp; "\ SSQ. Dat" For Binary Access Read As # 1
XHSJ=LOF (1) \ Len (DQSJ)
Excuse me sj (1 To 14) was defined As Byte bytes type (1 To 14) what do you mean
Behind the Len (DQSJ) and in which members of the length of the string
Please help to explain the above code

CodePudding user response:

Sj (1 To 14) As Byte defines a Byte array, there are 14 elements and index is 1 To 14,

Len (DQSJ) got the chief,
  • Related