Data editing > How Quantum reads data > Reserved variables
 
Reserved variables
Trailer cards describes the reserved variable thisread, which keeps track of which cards have been read in during the current read, and allread, which keeps track of all cards read in for the current record. Other reserved variables associated with reading in data:
lastrec
Set to true when the last record in the file has been read or, in the case of trailer cards, the last read of the last record has occurred.
rec_count
Stores the number of records read in so far.
card_count
Counts the number of cards read so far.
See also
How Quantum reads data