testlink

Reports the current link and connection status.

testlink

Remarks

The system variable "result" is set to one of the following values depending on the link and connection status:

Value Status
0 Link to Tera Term has not been made.
1 Connection to the host has not been made, but link to Tera Term has been made.
2 Both connection and link have been made.

Example

; If MACRO is not linked to Tera Term, 
testlink
; execute the connect command.
if result=0 connect 'host'

See also