$IsConnected

Tests if Zim is connected to a particular server.

Syntax

$isconnected(string)

Parameters

string

a character string or an expression that evaluates to a character string

Return Value

1-character binary string. Evaluates to 1 ($True) if Zim is connected to the server name contained in string; if the server name is invalid or there is no connection,  evaluates to 0 ($False).

Example

$isconnected("ZIMSERV")

Evaluates to $True if a previous CONNECT statement to ZIMSERV was successfully issued.

 

Related Topics