PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Retrieves the number of bytes waiting to be transferred in the output buffer of the specified serial port or parallel port.
WEBDEV - Server code This function returns information regarding the server.
Example
// The COM2 port is opened
// Send a message to the output buffer of COM2
sWrite(2, MyMessage)
// Wait for the end of the write operation
LOOP
        IF sInExitQueue(2) = 0 THEN BREAK
END
Info("End of write operation")
Syntax
<Result> = sInExitQueue(<Port Number>)
<Result>: Integer
Number of bytes waiting to be transferred.
Windows Mobile Reminder: In UNICODE, each character occupies two memory bytes.
<Port Number>: Integer
  • Number of the relevant serial port: 1, 2, 3, ... 32 for COM1, COM2, COM3, ... COM32.
  • Number of the relevant parallel port: -1, -2, -3 or -4 for LPT1, LPT2, LPT3 or LPT4.
  • Number of the relevant infrared port: 1, 2, 3, ... 32 for IR1, IR2, IR3, ... IR32.
  • Port number returned by sOpen (if this function was called with a port name).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment