Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Foxlib v1.0 - <b>leftshft</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LEFTSHFT

Syntax:                 LEFTSHFT

Use:                    To determine if the Left Shift key is down.

Parameters:             LEFT

Returns:                The first character in the sending parameter will
                        have a "Y" if the Left Shift key is down, a "N" if
                        it is not down.  If you did not pass the parameter
                        correctly (e.g. FOXLIB = "ZEFT"), your sending
                        parameter will be unchanged.

Example:                . load c:\FOXLIB\leftshft
                        . FOXLIB = "LEFT"
                        . call leftshft with FOXLIB
                        . ?substr(FOXLIB,1,1) = "Y"
                        .T.
                        . rele modu leftshft

                        From this example, the Left Shift key is down.

Notes:                  Make sure you re-load leftshft into memory each time
                        you determine if the Left Shift key is down.

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