J
Jason
'i am converting an old basic program >>> vba, because i have nothing
interesting to do
'i tried copying the code and pasted in vba, hurray it works. expect that it
doesnt recognise some BASIC commands
'i read about the READ, DATA, RESTORE very very long time back (BASIC)
anyway, heres the problem
'
'3740 If Z1$ = "/" Then Return
'3750 For Q = 0.982 To G Step 0.002
'3760 READ Z1$
'3770 Next Q
'3780 Data G, H, I, J, K, L, M, N, O, P, Q, R, S, T, u, V, W, X, Y, Z, AA,
BB, CC, DD, EE
'3790 RESTORE
'3800 Return
'
'
'when i run the above code, vba does not recognise read,data,restore. i
could assign the values in a different way
'but i want to find out if there is a way in vba..lol
interesting to do
'i tried copying the code and pasted in vba, hurray it works. expect that it
doesnt recognise some BASIC commands
'i read about the READ, DATA, RESTORE very very long time back (BASIC)
anyway, heres the problem
'
'3740 If Z1$ = "/" Then Return
'3750 For Q = 0.982 To G Step 0.002
'3760 READ Z1$
'3770 Next Q
'3780 Data G, H, I, J, K, L, M, N, O, P, Q, R, S, T, u, V, W, X, Y, Z, AA,
BB, CC, DD, EE
'3790 RESTORE
'3800 Return
'
'
'when i run the above code, vba does not recognise read,data,restore. i
could assign the values in a different way
'but i want to find out if there is a way in vba..lol