runoff.readnext

Command/Runoff: Commands, Releases: AP and R83

Gets next item-id from active list.

Description

extracts the top entry of an active list created by one of the list-generating commands prior to output and inserts the value into the text of the item.

This command is used to read data from an 'active list'. It has an effect only if, prior to entering Runoff, a 'select', 'sselect', 'qselect' or 'get-list' statement has been entered, which selects a list of values. See 'active list'.

Each '.readnext' command in Runoff extracts the next value from the active list and places it in the text stream.

'.readnext' does not cause a 'break'.

If there is no 'active list', or when the list is exhausted, the '.readnext' command causes a termination of Runoff, and a return to TCL.

See Also

Command Name Type Description
active.list Definition A list of strings delimited by attribute marks created by one of the list-generating processes.
access.select Verb: Access Creates list of items meeting specific criteria.
access.sselect Verb: Access Creates sorted list of items meeting specific criteria.
op.break Command Creates a new paragraph.
runoff.chain Command Transfers control to another Runoff item.
runoff.commands Command List of Runoff commands.
tcl.get-list Verb: Access Retrieves previously saved list.
tcl.qselect Verb: Access Creates active list from item(s).

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.