XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

*standard-input*


Type:   -   system variable
Source:   -   xlinit.c

Syntax

 *standard-input*

Description

The *standard-input* system variable contains a file pointer that points to the file where all normal input from the programmer or user comes from. The default file for *standard-input* is the system standard input device, normally the system keyboard.

Examples

*standard-input*   ; returns #<File-Stream: #2442e>

Note: Be careful when modifying the *standard-input*. If you do not save the old file pointer, you will not be able to return to normal operation and will need to exit XLISP. If the file or source that you have set *standard-input* to does not reset *standard-input* to its previous value, you will never get control back to the keyboard.

See the *standard-input* system variable in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next