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

Syntax:                 SCRNSIZE

Use:                    To determine the mode (width in characters) on the
                        computer screen (possible outcomes are 40 or 80).

Parameters:             SCRNSIZE

Returns:                The first character in the sending parameter will
                        have the width of characters.  If you did not pass
                        the parameter correctly (e.g. FOXLIB =
                        "ZCRNSIZE"), your sending parameter will be
                        unchanged.

Example:                . load c:\FOXLIB\scrnsize
                        . FOXLIB = "SCRNSIZE"
                        . call scrnsize with FOXLIB
                        . ?asc(substr(FOXLIB,1,1))
                        80
                        . rele modu scrnsize

                        From this example, the screen width is 80
                        characters.

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