read

Syntax: %read(i,rec)

read the specified record from the ith file. If rec is omitted, zero is assumed. For text files, rec 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


Contents random remove