Please enable JavaScript to view this site.

Returns the number of parameters and multi-choice values that matches a predicate expression within the active configuration. The predicate expression is defined using the ActiveParameter() function.

 

int ParameterOcc(bool predicateExpression)

 

predicateExpression

The expression to evaluate for each parameter to decide if it should be counted or not.

Example

ParameterOcc(ActiveParameter("Value") = "/")

Returns the number of parameters with the value "/" in active configuration.

 

ParameterOcc(ActiveParameter("type") = "bool" && ActiveParameter("Value") = "Yes")

Returns the number of bool parameters and multi-choice values that are selected.

Remarks

This method ignores multi-choice parameters and instead loops through their the multi-choice values which are regarded as Boolean parameters.

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC