Script Method Argument

Script method calls in VBscript generally take the form:

objectName .methodName ( arg1, arg2, ...)

The function call syntax is a standard followed by several programming languages. However, the argument types in VBScript objects used for product scripting are restricted to the following:

Primitive Types

Primitive types are the standard bool, int, float, double, and string.

Named Arrays

Named arrays are a special construct used very commonly and can be found in many recorded script samples.

A named array begins with Array("NAME:someName" followed by a collection of comma separated values which can be:

Named Functions

Named functions are arrays which start with Array( and do not have a leading "NAME:name" item. They are always introduced by a key and can contain comma separated values of the following type:

Related Topics 

Translating Script commands from VBScript to IronPython