Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ref:a_f:f:af:get_attr_value [2026/08/13 00:43] – removed - external edit (Unknown date) 127.0.0.1ref:a_f:f:af:get_attr_value [2026/08/13 07:20] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{tag>Index Function Function_List Miscellaneous Version:v8.8}}
 +====== GET_ATTR_VALUE ====== 
 +
 +===== Description =====  
 +This function is useful when you have to get an attribute value of a certain instance in Context (where there are multiple instances of the object of the required type in the Context).
 +<alert type="primary" icon="fa info-circle">
 +**note**
 +
 +These instances must be placed in the Context by an ordered query, for example <code aim>FIND ALL Object ORDER BY Object.Attr</code></alert>
 +
 +===== Parameters =====  
 +  - The name of the required object
 +  - The name of the required attribute in the object
 +  - The index of the required instance in Context (starting from 0)
 +
 +===== Example =====  
 +<code aim>FIND ALL MyObject ORDER BY MyObject.SomeAttribute IF GET_ATTR_VALUE ('MyObject', 'MyAttribute', 5) = 'abc' THEN ... </code>