Skip to content

GET_ATTRPROFCLASS_ID ​

GET_ATTRPROFCLASS_ID determines the ID of the Attribute Profile class specified by the given name.

Syntax ​

leo-grammar
CC "Core" GET_ATTRPROFCLASS_ID apclassname:strValue . 


#-->RESULT ecode:intValue apclassid:intValue
CC "Core" GET_ATTRPROFCLASS_ID apclassname:strValue . 


#-->RESULT ecode:intValue apclassid:intValue

Parameters ​

  • apclassname (strValue) - the name must be passed in the parameter apclassname.

Returns ​

  • ecode (intValue) - the return value ecode is set to zero if function succeeded and to a non zero value else.
  • apclassid (intValue) - the ID of the referenced AttrProf class is returned in apclassid.

Details ​

See Also ​

Examples ​

asc
# get target ID
CC "Core" GET_ATTRPROFCLASS_ID apclassname:"AttrProf class"
# get target ID
CC "Core" GET_ATTRPROFCLASS_ID apclassname:"AttrProf class"

Versions and Changes ​

Available since ADOxx 1.3