Technical Support Contact Us   

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.


Home Contents Previous Next

[Contents (Javascript menu format)] [Contents (HTML format)] [Search] [Glossary]

 

Copyright © 2005 - MFM Software, Inc.
11988 Tramway Drive
Cincinnati, OH 45241
Phone: 513.733.9229
Fax: 513.733.8775
Send comments to webmaster@mfm.com