DriveWorks Pro 15: SppGetVariablesInCategory [send feedback...]

SppGetVariablesInCategory

Returns an array of variables in a named category.

Syntax

SppGetVariablesInCategory([Category],[Include sub categories])

Where:

Category The name of the variable category.

Include sub categories True to include variables from sub categories, FALSE to omit.

Examples

RuleMeaning
SppGetVariablesInCategory("Form Calcs",TRUE)Will return an array of all variables in the category Form Calcs, including variables from sub categories.
SppGetVariablesInCategory("Form Calcs",FALSE)Will return an array of all variables in the category Form Calcs only.

Results

The table will be returned as an array, which will look like the example below:

{"Variable Name","Variable Rule","Variable Value","Comment","Category";"Colors","=""Red|Green|Blue|Gray|Black|White""","Red|Green|Blue|Gray|Black|White","","Form Calcs";"MaxLength","=2000",2000,"","Form Calcs"}

When this is presented in tabular format it looks like this:

Variable NameVariable RuleVariable ValueCommentCategory
Colors="Red|Green|Blue|Gray|Black|White"Red|Green|Blue|Gray|Black|WhiteForm Calcs
MaxLength=20002000Form Calcs

Table of Contents