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

Syntax:                 PCAT

Use:                    To determine if PC/AT.

Parameters:             PCAT

Returns:                The first character in the sending parameter will
                        have a "Y" if PC/AT, a "N" if it is not a PC/AT. If
                        you did not pass the parameter correctly (e.g.
                        FOXLIB = "ZCAT"), your sending parameter will be
                        unchanged.

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

                        From this example, it is a PC/AT.

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