isEof()
Checks if there are more command line options to be read.
Syntax
Getopt.isEof( )
RETURNS BOOLEAN
Usage
This is a method for the Getopt
type, used to check if there are no more command line options to
process.
The isEof()
method can be used after calling the getopt()
method processing
command line options, to stop the processing when no more known command line options are to be
processed.
Example
IMPORT FGL getopt
MAIN
DEFINE g getopt.Getopt
DEFINE s INTEGER
...
WHILE TRUE
LET s = g.getOpt()
IF g.isEof() THEN EXIT WHILE END IF
DISPLAY g.opt_char
END WHILE
END MAIN