Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_lptinit()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_LPTINIT()


Syntax:        L_LPTINIT(<expN>)


Purpose:       To initialise the specified parallel port and to return
               its status.


Arguments:     <expN> is the parallel port to be initialised.
               0 = LPT1,
               1 = LPT2,
               2 = LPT3 etc


Returns:       An integer value representing the status of the status
               of the LPT port.


Usage:         See L_LPTSTAT() for details of status values returned.


Examples:      * Determine status after initialisation.
               status = L_LPTINIT(0)          && initialise parallel port 1


Language:      Assembler

See Also: L_LPTSTAT() L_LPT2COM() L_LPTINIT() L_COM2LPT()

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