<<

Contents

Search

>>

 

CLOSECOMM

 

 

Function

 

 

Syntax:

CLOSECOMM(<File Number>)

 

<File Number> <File Number>

 

Meaning:

Closes a seriell interface which has been opened with OPENCOMM$.

 

CLOSECOMM returns 0 if the serial interface could be closed otherwise –1.

 

Parameter:

File Number

File number from OPENCOMM$

 

Sample:

RET% = CLOSECOMM(DNR%)
IF RET% <> 0
THEN ... Error ...
ENDIF

 

See also:

OPENCOMM$

READCOMM$

WRITECOMM$