Please enable JavaScript to view this site.

Returns the number of attributes that matches a predicate expression within the active configuration. The predicate expression is defined using the ActiveAttribute() function.

 

int AttributeOcc(bool predicateExpression)

 

predicateExpression

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

Example

AttributeOcc(SubStr(ActiveAttribute("Name"); 0; 6) = "Weight" && ToDouble(ActiveAttribute("Value")) > 1000)

Returns the number of attributes whose name starts with "Weight" and whose value is greater than 1000).

  

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