read
Syntax: %read(filenum,recnum)
read the specified record from the filenum file. If recnum is omitted, zero is assumed. For text files, recnum is the line number to be read (0 reads the next sequential line).
Example:
#FILE 1 "kagi.txt"
#SAY %read(1,3)
#CLOSE 1
displays:
Opened kagi.txt as file 1
Kagi is a Shareware payment processing service that makes it
Closed kagi.txt on file 1 |