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.
QUEUED() -> 5 /* Perhaps */