[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    ComInputS()

         Extracts a string from the communications buffer (input str)

    Syntax:

         ComInputS( @cBuffer, nMaxChars ) -> nChars

         cBuffer   : The buffer where the string is to be placed
         nMaxChars : The maximum number of chars to read

    Description:

         Receives a string from the communications buffer.

         ComInputS() brings up to date the internal pointers of the reception
         buffer and points to the next value.

    Return:

         The number of chars received from 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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson