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

Syntax:                 COMTHR

Use:                    To determine the status of transfer holding register
                        empty.

Parameters:             COM0 for com1, COM1 for com2, COM2 for com3, and
                        COM3 for com4.

Returns:                The first character in the sending parameter will
                        have a "Y" if transfer holding register empty is
                        turned on, a "N" if transfer holding register empty
                        is turned off. If you did not pass the parameter
                        correctly (e.g. FOXLIB = "ZOM0"), your sending
                        parameter will be unchanged.

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

                        From this example, transfer holding register empty
                        is turned on.

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