contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
built-in variable   #process-input    
  Related Syntax    

Purpose

One of the built-in input sources.

#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" ("stdin") on UNIX systems.

When the "-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 in:

The use of #process-input is subject to the following constraints:

Further difficulty arises when #process-input does not have an "end". This can happen when it is piped from a keyboard or other such device, where the input can wait forever for another character. This will "hang" a program that attempts to read in all of #process-input at once.

Because of these difficulties, take care to design your program to read #process-input incrementally.

The appropriate herald type for #process-input is "source".

  Related Syntax
   #main-input
   #process-output
   do sgml-parse
   submit
   do scan
   repeat scan
   declare #process-input has
 
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:00 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.