Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

During module loading process, the following equates (constants) will be defined.

Note: inside COMM module, True<>0, False=0

 

Communication parameters:

Symbol

Read Only Parameter

Meaning

%COMM_BAUD

No

Port Baud Rate (9600, 14400, 19200, etc).

%COMM_BREAK

No

TRUE/FALSE

Break is asserted.

Break is generally used to "get the attention" of the connected modem, terminal or system.

%COMM_BYTE

No

Number of bits per byte (4, 5, 6, 7, or 8).

%COMM_CD

Yes

TRUE/FALSE

Carrier Detect state.

%COMM_CTSFLOW

No

TRUE/FALSE

Enable CTS output flow control (Input signal).

%COMM_DSRFLOW

No

TRUE/FALSE

Enable DSR output flow control (Input signal).

%COMM_DSRSENS

No

TRUE/FALSE

Enable DSR sensitivity.

%COMM_DTRFLOW

No

TRUE/FALSE

Enable DTR handshaking flow control (Output signal).

%COMM_DTRLINE

No

TRUE/FALSE

Enable DTR line.

%COMM_NULL

No

TRUE/FALSE

Null ($NUL) bytes are discarded when read.

%COMM_PARITY

No

TRUE/FALSE

Enable parity checking.

%COMM_PARITYCHAR

No

Character to use for parity error replacement.

PARITY must be enabled.

%COMM_PARITYREPL

No

TRUE/FALSE

Enable character replacement on parity error.

PARITY must be enabled.

%COMM_PARITYTYPE

No

0 = None

1 = Odd

2 = Even

3 = Mark

4 = Space

Default value = 0

%COMM_RING

Yes

TRUE/FALSE

%COMM_RLSD

Yes

Receive-line-signal-detect.

%COMM_RTSFLOW

No

Ready To Send (Output signal).

0 = Disable

1 = Enable

2 = Handshake

3 = Toggle

%COMM_RXBUFFER

No

Size of the receive buffer in bytes.

%COMM_RXQUE

Yes

Bytes currently in the receive buffer

%COMM_STOP

No

0 = 1 stop bits

1 = 1.5 stop bits

2 = 2 stop bits

%COMM_TXBUFFER

No

Size of the transmit buffer in bytes.

%COMM_TXQUE

Yes

Bytes currently in the transmit buffer.

%COMM_XINPFLOW

No

TRUE/FALSE

Enable XON/XOFF input flow control.

Default value = FALSE

%COMM_XOUTFLOW

No

TRUE/FALSE

Default value = FALSE

 

.

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software