qbasicking
Programmer
OPEN "test.tst" FOR BINARY AS #1
c = 14
FOR a = 1 TO 20
PUT #1, a, c
NEXT
and then when I do this
OPEN "test.tst" FOR BINARY AS #1
FOR a = 1 TO 20
GET #1, a, c
PRINT c
NEXT
I get a string of all zeros except for the last two (3.69349E+19 and 14)
c = 14
FOR a = 1 TO 20
PUT #1, a, c
NEXT
and then when I do this
OPEN "test.tst" FOR BINARY AS #1
FOR a = 1 TO 20
GET #1, a, c
PRINT c
NEXT
I get a string of all zeros except for the last two (3.69349E+19 and 14)