Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> kbd predefined standard file pp 105</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KBD                       Predefined Standard File                   pp 105


 Define:  KBD is the predefined text file for the KBD: device.

 Purpose: Default standard input file.  Assigned to KBD: device.

 Notes:   Use of Assign, Reset, ReWrite, and Close is illegal here.

          Reading from the standard KBD file is identical to the read
          CON file except that input is not echoed to the screen.


 Usage:
       VAR
          StrVar : String [80];  { Allow 80 bytes maximum input         }

       BEGIN
          ReadLn (KBD,StrVar) ;  { Read from standard file KBD          }
          ReadLn (StrVar)     ;  { CON is assumed input file by default }
       END.

See Also: Aux Con Lst Trm Usr

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