09-01-2004, 09:34 PM
I have some questions...but answers seem too complicated for me
1)how do I save file with the name I want?
something like this
2)what does #1 mean? how does it help me anyway?
3)how can i read from the second line of file??
bla.txt:
qbasic program:
but it will only print me the first line word, Bond...
so thank you if you wasted your time helping me
1)how do I save file with the name I want?
something like this
Code:
open "input"mychoosednamewhichIcantype" .txt" for output as #1
print #1
close
2)what does #1 mean? how does it help me anyway?
3)how can i read from the second line of file??
bla.txt:
Code:
Bond
Lights
qbasic program:
Code:
open"bla.txt" for input as #1
input #1.s$
print s$
close
but it will only print me the first line word, Bond...
so thank you if you wasted your time helping me