GET_ALL_ATTRPROF_VERSIONS_OF_THREAD ​
The command GET_ALL_ATTRPROF_VERSIONS_OF_THREAD returns a list of all attribute profile versions of specified attribute profile thread.
Syntax ​
leo-grammar
CC "Core" GET_ALL_ATTRPROF_VERSIONS_OF_THREAD apthreadid:id
#-->RESULT ecode:intValue apversionids:ids
Parameters ​
apthreadid
(idValue) - the specified attribute profile thread is passed as core id in the parameter apthreadid.
Returns ​
ecode
(intValue) - the return value ecode is zero if command was executed sucessfully and non zero on failure.apversionids
(intValue) - s, the return value apversionids contains a list with ids of all attribute profile versions.
Details ​
See Also ​
Examples ​
asc
# get root directories
CC "Core" GET_ALL_ATTRPROF_SUBDIRS
# get all attribute profile threads in first root directory
CC "Core" GET_ALL_ATTRPROF_THREADS_IN_DIR apdirid:(VAL token(apdirids,0," "))
IF (ecode!=0)
{
CC "AdoScript" ERRORBOX ("Error in GET_ALL_ATTRPPROF_THREADS_IN_DIR!")
EXIT
}
# get all versions of first thread of first root directory
CC "Core" GET_ALL_ATTRPROF_VERSIONS_OF_THREAD apthreadid:(VAL token(apthreadids,0," "))
IF (ecode!=0)
{
CC "AdoScript" ERRORBOX ("Error in GET_ALL_ATTRPROF_VERSIONS_OF_THREAD!")
EXIT
}
CC "AdoScript" INFOBOX ("Verions of first attribute profile:\n"+apversionids)
Versions and Changes ​
Available since ADOxx 1.3