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>scrlstat</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SCRLSTAT

Syntax:                 SCRLSTAT

Use:                    To determine if the Scroll Lock key is on.

Parameters:             SCRL

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

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

                        From this example, the Scroll Lock key is on.

Notes:                  Make sure you re-load scrlstat into memory each time
                        you determine if the Scroll Lock key is on or off.

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