comWrite

C Scripting Language
Reference Manual
Version 4.4.0

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using the CSL executive
Language
Directives
System library
String library
Math library
Regular expression lib.
File library
Database library
Async Communication
   comBits
   comBps
   comClose
   comFlow
   comInputChars
   comOpen
   comParity
   comPurgeInput
   comRead
   comReadChar
   comReadTimeout
   comStops
   comWaitForOutput
   comWrite
Registry/Profile handling
Windows control
C API
C++ Class Interface
CSL links
  
comWrite(
  const handle,   // async handle
  const data)     // data to send

Send data to the receiver.

Note that processing is usually done asynchronously: comWrite puts the data into a sending queue and returns immediately. If you have to be sure that your output has completed before your program proceeds, use comWaitForOutput.

Examples:

comWrite(hdl,'hello world\n');
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>