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> keypressed test for active key pp 143</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KEYPRESSED                  Test For Active Key                      pp 143

 Syntax:  KeyPressed

 Type:    Boolean

 Form:    Function

 Purpose: Returns True if a key has been pressed at the console, and
          False if no key pressed.


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


 Usage:
       BEGIN
          If KeyPressed then
             Begin
             End;
       END.

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