KEF( ) |
Return First Key of File |
KEF(chan[,fileopt])
Where:
chan |
Channel or logical file number of the file to reference. | ||||||
fileopt |
Supported file options (see File Options):
| ||||||
stmtref |
Program line number or statement label to which to transfer control. |
Key of first record in file.
The KEF( ) function returns the key of the first record in the file specified. The result is based on the:
The KEF( ) function can also be used in TCP (Transmission Control Protocol) to identify local sockets.
open (1) "CUSTNO"
......
F$=kef(1),L$=kel(1)
print "Customers range from ",F$,"->",L$
......
end