Please enable JavaScript to view this site.

ESL Documentation

Response Definition

Respond to program or block initiation.

response to start

[ACTION_STATEMENT] ...

ACTION_STATEMENT

An action statement.

Description

The action statement(s) specified in a response to start response definition are executed when the program is started or changed to, or when a block is entered.

Only one response to start is allowed in each program, or, if specified in a block, within each block.

If there is no response to start outside of any block, ESL will wait for a stimulus before performing any action.

If there is more than one response to start within any block, or outside of all blocks, an error message will be produced.

Example

response to start

send Greetings to Recorder

response to Send

begin block

response to start

...

end block

See Also

begin BLOCK Action Statement