Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

EOF(ARG.)

Returns whether the command line pointer is past the last argument.

Synopsis

EOF(ARG.)

Arguments

None. The keyword ARG. (note the period at end of this keyword) is the only allowed value, and is mandatory. The ARG. keyword is not case-sensitive.

Description

The EOF(ARG.) function returns a boolean value indicating whether the command line pointer is positioned beyond the last command line argument. It returns 1 if the command line pointer is positioned beyond the last command line argument. Otherwise, it returns 0.

The GET(ARG.) statement moves the command line argument pointer and retrieves the argument value. The SEEK(ARG.) statement moves the command line argument pointer without retrieving a value.

See Also