omron — VBScript Compared to VBA

Appendix: VBScript When you type the name of an ActiveX control that is inserted on the screen followed by the dot character ( . ) on any VBScript interface from the screen where the ActiveX object is inserted, a list box will automatically open with the list of all properties and methods from the object: The items are displayed in alphabetic order, and each item has an icon to identify its main type, as follows: Parameter Quick Info The Quick Info option displays pop-up boxes with the information about the functions from the Built- in Scripting Language. The information includes all the parameters supported by this function, with the currently configured one in bold text.

Complete Word Complete word finishes a tag, member, field, function, or ActiveX property/method name once you have entered enough characters to disambiguate the term. After you type the first few letters of the name, you can press Ctrl+Space to complete the name automatically. VBScript Compared to VBA While VBScript and Visual Basic for Applications (VBA) are similar and are both based on the Visual Basic standard language, there are advantages to using VBScript for IWS users: • VBScript is supported for the Microsoft Windows Embedded operating system, and VBA is not.

• VBScript brings active scripting to a wide variety of environments, including Web client scripting in Microsoft Internet Explorer. This prevents operations that may present risks for the Thin Client user, such as direct access to local files. • VBScript was designed to be simple and easy to learn, with some standards from VBA modified in VBScript to make it more straightforward. For example, in VBScript the user does not have to worry about the type of each variable when declaring them because VBScript assumes the proper type for each variable automatically. The following table lists VBScript features that VBA does not have.

InduSoft Web Studio Page 663 Icon Type Function from the Built-in Scripting Language Icon Type Property from the ActiveX object Method from the ActiveX object Category Feature/Keyword Declarations Class Miscellaneous Eval Execute Objects RegExp Script Engine Identification ScriptEngine ScriptEngineBuildVersion