#process-input identifies the default input source that the system supplies to the OmniMark
program. This corresponds with what is usually referred to as standard input (or
stdin) on UNIX systems.
-term command-line option is given,
#process-input is unavailable to
the program; attempts to access it will generate an error.
#process-input explicitly identifies a source of input, and can be used as the scanning source
string sourcefunction of a
scansource of a
The use of
#process-input is subject to the following constraints:
repeat scan, or
submit. If an attempt is made to use it more than once, an error will be generated.
#process-inputis usually read incrementally, meaning that the contents of the stream are not all buffered in memory before processing begins. In some situations, however, this is not the case. If you use
stringexpression (for example:
length of #process-input), as a passed
valueargument in a function, or as part of a concatenated string (for example:
set this-string to str-var || #process-input), the entire contents of
#process-inputwill be read into memory.
#process-input represents a stream of data that is being dynamically generated by a
process outside your program (such as another application or the keyboard). Any attempt to read
#process-input as a whole will block until the end of the input is signaled by the outside process (such
as by the user typing
Ctrl-D on the keyboard). In most cases you will want to make sure you