<<

Contents

Search

>>

 

TERMINATE_SERVER_ON_EXIT

 

 

Instruction

 

 

Syntax:

TERMINATE_SERVER_ON_EXIT(<Password>,<Kill All Clients>)

 

<Password>

= <STRING-EXPRESSION>

<Kill All Clients>

= <NUM-EXPRESSION>

 

 

Meaning:

Terminates the Ebus-2T-Server.

 

This instruction only has an effect in a 2T program.

 

When a Client program is terminated the Ebus_2T_Server is terminated automatically if <Kill All Clients> is 0 and no other Client has a connection to the Ebus_2T_Server or if <Kill All Clients> <> 0.

 

The <Password> must be identical with the password entered at the Ebus_2T_Server, otherwise the instruction does not have any effect.

 

If <Kill All Clients> <> 0, all programs running on the Ebus_2T_Server are terminated.

 

Parameter:

Password

Password of the Ebus-2T-Server

Kill All Clients

<> 0: All Client programs at the Ebus-2T-Server are terminated.

 

Sample:

TERMINATE_SERVER_ON_EXIT("password1",0)

 

See also:

GET_USERLIST_2T$