Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>input$ read specified number of characters</b> http://www.X-Hacker.org [<<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 #

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson