You can specify a response to start statement that tells ESL what to do when that program first begins execution. This kind of response is helpful if you want to perform operations such as starting an application program, logging into a remote computer, or displaying a menu of program options at the beginning of the program, before ESL performs any other operations. For example:
response to start
make AboutBox visible
start local Audit "audit"
send StartupMessage to Audit
ESL executes these statements as soon as the program begins, or when another ESL program transfers control to this program.
The response to start definition is optional. Only one response to start is allowed in an ESL program, unless it is within a block (and there can be only one response to start within each block). For information on using response to start within a block, see "Using the response to start Response Definition Within a Block".