QUEUED

The QUEUED function returns the number of lines remaining in the external data queue when the function is called. If no lines are remaining, a PULL or PARSE PULL reads from the terminal input buffer. If no terminal input is waiting, this causes a console read.

Read syntax diagramSkip visual syntax diagram QUEUED( )

Example

QUEUED()    ->    5    /* Perhaps */