ASAI Script Builder Actions
■
■
When developing a program using Script Builder, A_Event returns an integer value in the Return Field to indicate the type of event (ABANDON, END, CON- NECT, ROUTE REQUEST, or ABNORMAL ROUTE END) that is being reported. The possible values 65, 67, 69, 82, or 114 correspond to the ASCII representation of the first letter for each type of message.
For example, if an ABANDON is being reported, you may use the following evalu- ate statement:
Evaluate:
if ReturnCode = “‘A’”
is the same as
if ReturnCode = 65
65 = “‘A’” — ABANDON
67 = “‘C’” — CONNECT
69 = “‘E’” — END
82 = “‘R’” — ROUTE REQUEST
114 = “‘r’” — ABNORMAL ROUTE END