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

         Extracts a value from the comunications buffer (input)

    Syntax:

         ComInput() -> nValue

    Description:

         Receives a value from the comunications buffer.

         ComInput() brings up to date the internal pointers to the reception
         buffer to point to the next value.

    Return:

         The ascii value of the received byte on the port or Nil if there's
         no available byte or the manager isn't active.

    Example:

         While .T.
           If ! ComInEmpt()
             nValue  := ComInput()
             cString += Chr( nValor )
           EndIf
         End

See Also: ComInEmpt() ComInputS()

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