- Posts: 17
readln()
- jtopham
- Topic Author
Less
More
11 Jan 2013 08:55 #1159
by jtopham
readln() was created by jtopham
Paul,
When I use the code in SAMUL:
input = open("C:/.........", "r" )
declare buffer
readln(input,buffer)
... etc
it automaticially skips the first line. how would I go about making it skip other lines, perhaps the second line?
Thanks,
Jon
When I use the code in SAMUL:
input = open("C:/.........", "r" )
declare buffer
readln(input,buffer)
... etc
it automaticially skips the first line. how would I go about making it skip other lines, perhaps the second line?
Thanks,
Jon
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
11 Jan 2013 16:52 #1160
by pgilman
Replied by pgilman on topic readln()
Hi Jon,
Does the explanation under "Working with Text Files" in the SAM Help system answer your question?
Input, Output, and System Access
(You can also access the SamUL help topic from the script editor by pressing the F1 key in Windows, or Command-? in OS X.)
Best regards,
Paul.
Does the explanation under "Working with Text Files" in the SAM Help system answer your question?
Input, Output, and System Access
(You can also access the SamUL help topic from the script editor by pressing the F1 key in Windows, or Command-? in OS X.)
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman