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

         Extracts a string from the comunications buffer (input str)

    Syntax:

         ComInputS( @cBuffer, nMaxChars ) -> nChars

         cBuffer   : The buffer where the string must be placed
         nMaxChars : The maximun number of chars to read

    Description:

         Receives a string from the comunications buffer.

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

    Return:

         The number of chars received on the port or 0 if there's
         no available byte or the manager isn't active.

    Example:

         cBuffer := Space( 1024 )
         If comInputS( @cSpace, 1024 ) == 1024
           ? "Read Ok"
         EndIf

See Also: ComInEmpt() ComInput()

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