Technical Support Contact Us   

PC Access for Windows Reference Guide

for PC Access for Windows 4.30.158


Script Command: call

Format:

call LABEL;

This command saves the current execution location and causes the script file execution to jump to the location defined by LABEL. The LABEL can be anywhere in the script file. If LABEL doesn't exist, PC Access displays a script compile error when you start the script file. If the script processing reaches a return command, execution transfers back to the command following the call command. You can call a block that contains another call command, nesting call commands this way up to 16 levels deep.

Example:

// This sends "Hello and Goodbye" to the host.
label START;
call FIRST;
send " and Goodbye";
end;
label FIRST;
send "Hello";
return

Back to script command list.


Home Contents Previous Next

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


Tell me more about this site.
Can't find what you need? See: How to Find It.
Contact us
Report a problem with this page or suggest an improvement for this page.

Last modification date: Friday, January 17, 2003 00:58:55

 

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