Article ID: 142246
Article Last Modified on 5/7/2003
Private Sub Command1_Click()
Close
Dim b(10) As Byte
'Assign the following numbers to the array elements.
b(0) = 65
b(2) = 65
b(4) = 65
b(6) = 65
b(8) = 0
'Set the byte value to a string variable
s$ = b
'Send the contents of string variable to a sequential file
Open "C:\test.dat" For Output As #1
Print #1, s$
Close #1
'Open the file to receive data
Open "C:\test.dat" For Input As #1
t$ = Input(LOF(1), #1)
Close #1
End Sub
140354 BUG: Input Function Doesn't Ignore EOF
Additional query words: kbVBp400bug kbVBp500bug kbVBp600bug kbVBp kbdsd kbDSupport sequential file kbVBA500
Keywords: kbbug KB142246