comClose

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
  
comClose(
  const handle)   // async handle

Close handle and release communication line.

Example:

var hdl = comOpen('com1','com1.log');
comBps(hdl,9600);
comWrite(hdl, 'hello world');
comWaitForOutput(hdl);
comClose(hdl);
  Copyright © IBK Landquart Last revision: 27.05.2002 << Back  Top  Next >>