18.01.2013 Views

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VBScript</strong> <strong>Reference</strong> <strong>Manual</strong> <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><br />

Call<br />

Description Transfers control to a Sub or Function procedure<br />

Usage Call name [argumentlist]<br />

Arguments Call<br />

Optional keyword. If specified, you must enclose argumentlist in parentheses.<br />

For example: Call MyProc(0)<br />

name<br />

Required. Name of the procedure to call.<br />

argumentlist<br />

Optional. Comma-delimited list of variables, arrays, or expressions to pass to the procedure.<br />

Remarks You are not required to use the Call keyword when calling a procedure. However, if you use the<br />

Call keyword to call a procedure that requires arguments, argumentlist must be enclosed in<br />

parentheses. If you omit the Call keyword, you also must omit the parentheses around<br />

argumentlist. If you use either Call syntax to call<br />

Example Function MyFunction(text)<br />

MsgBox text<br />

End Function<br />

Call MyFunction("Hello World")<br />

MyFunction “Hello World”<br />

172 <strong>InduSoft</strong>, Ltd.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!