| read | Index Level | readnext null |
| Syntax |
.readnext
.rn |
| Category | Output Processor |
| Type | Command |
| Description |
reads data, one value at a time, from an "active list".
It has an effect only if, prior to entering OP, a "select", "sselect", "qselect" or "get-list" statement has been executed. Each ".readnext" command in OP 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 pre-selected list, or when the list is exhausted, the ".readnext" command terminates OP, and returns to the calling process. |
| Options | |
| See Also | readnext null rn active list select sselect break chain OP commands get-list qselect Output Processor |
| Example |
Dear .readnext
You are the only one for me. Love, Pat .chain love.letter |
| Warnings | |
| Compatibility | D3 7.0 AP |
| read | Index Level | readnext null |