[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INPUT$                   Read Specified Number of Characters

 INPUT$(n [,[#]filenum])

    Returns a specified number of characters from a specified sequential
    file or device, or from the keyboard.

           n    The number of characters to be read. Must be in the range
                1 to 255.

     filenum    The number under which the input file was OPENed. If
                omitted, the characters are read from the standard input
                device (the keyboard, by default). Characters input from
                the keyboard are not echoed to the screen.

   -----------------------------------------------------------------------

      Notes:    The INPUT$ function terminates when the specified number
                of characters have been received. It is not necessary to
                press Enter.

                INPUT$ doesn't allow the inputting of certain special key
                combinations (for example, function and cursor keys).
                These keys will return CHR$(0). Use INKEY$ to get around
                this limitation.

See Also: INKEY$ INPUT INPUT # LINE INPUT LINE INPUT #
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson