VBScript Reference Manual for InduSoft Web Studio
VBScript Reference Manual for InduSoft Web Studio
VBScript Reference Manual for InduSoft Web Studio
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> <strong>VBScript</strong> <strong>Reference</strong> <strong>Manual</strong><br />
<strong>VBScript</strong> Language <strong>Reference</strong><br />
This Language <strong>Reference</strong> section is intended to cover <strong>VBScript</strong> as it is intended to be used with<br />
<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> (IWS) and CEView.<br />
<strong>VBScript</strong>, or more properly Microsoft Visual Basic Scripting Edition, is one of the members of the<br />
Microsoft Visual Basic family. <strong>VBScript</strong> is primarily a subset of VBA, or Visual Basic <strong>for</strong> Applications,<br />
although VBA and <strong>VBScript</strong> are targeted at different applications. VBA was intended to be used <strong>for</strong> the<br />
automation of Microsoft Office and Microsoft Project applications, while <strong>VBScript</strong> was designed <strong>for</strong> use<br />
with <strong>Web</strong>-based applications, both on the client side (e.g. Microsoft Internet Explorer) where it<br />
compliments Jscript, and on the Server side, where it works with ASP (Active Server Pages)<br />
applications and WSH (Windows Script Host) scripts.<br />
<strong>InduSoft</strong> provides a <strong>VBScript</strong> Hosting environment <strong>for</strong> the <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> (IWS) and CEView<br />
HMI/SCADA software, allowing developers to use both <strong>VBScript</strong> programmability and native IWS (and<br />
CEView) configurability. This combination of development methodologies lets developers chose which<br />
development methodology best suits their application requirements. <strong>InduSoft</strong> has chosen to implement<br />
<strong>VBScript</strong> instead of VBA, since <strong>VBScript</strong> has a number of advantages not inherent in VBA, including<br />
the support <strong>for</strong> thin clients and Windows CE runtime environments.<br />
This <strong>VBScript</strong> Language <strong>Reference</strong> covers the following material:<br />
• Variables (Type, Declaration, Scope)<br />
• Constants (Explicit, Implicit)<br />
• Keywords<br />
• Errors (Runtime, Syntax)<br />
• Operators (Type, Precedence)<br />
• Functions and Procedures<br />
• Statements<br />
• Objects and Collections<br />
• <strong>VBScript</strong> restrictions within the IWS development environment<br />
• Example <strong>VBScript</strong> Applications<br />
<strong>InduSoft</strong>, Ltd. 63