PC Access for Windows Reference Guide
for PC Access for Windows 4.30.158
Script Command: #define
Format:
#define SYMBOL TEXT
The #define command allows you to assign a TEXT string to a SYMBOL. When the PC Access script compiler sees the SYMBOL in your script file, it replaces the SYMBOL with the TEXT string you assigned to it.
· The define command is special in that it does not have a semi-colon (;) at its right-hand end.
· The SYMBOL must be in the same format as a LABEL.
Example:
#define TIME_OUT_DELAY 1000
label START;
send "JIM JONES";
wait TIME_OUT_DELAY for "PASSWORD";
// The script compiler replaces TIME_OUT_DELAY with
// the number 1000.
The #define command
This topic has changed for PC Access 4.30.
Back to script command list.
[Contents (Javascript menu format)]
[Contents (HTML format)]
[Search]
[Glossary]
|