Skip to content

GET_ROOT_ATTRPROFDIR_ID ​

The command GET_ROOT_ATTRPROFDIR_ID returns the apdirid of the invisible toplevel AttrProf directory ID.

Syntax ​

leo-grammar
CC "Core" GET_ROOT_ATTRPROFDIR_ID


#-->RESULT ecode:intValue apdirid:id
CC "Core" GET_ROOT_ATTRPROFDIR_ID


#-->RESULT ecode:intValue apdirid:id

Parameters ​

none

Returns ​

  • ecode (intValue) - if the function succeeded ecode returns "0". Else a non zero value error code is returned.
  • apdirid (idValue) -

Details ​

See Also ​

Examples ​

asc
# get root AttrProf directory ID
CC "Core" GET_ROOT_ATTRPROFDIR_ID

# get all visible top level directories
CC "Core" GET_ALL_ATTRPROF_SUBDIRS apdirid:(apdirid)

CC "AdoScript" INFOBOX (apdirids)
# get root AttrProf directory ID
CC "Core" GET_ROOT_ATTRPROFDIR_ID

# get all visible top level directories
CC "Core" GET_ALL_ATTRPROF_SUBDIRS apdirid:(apdirid)

CC "AdoScript" INFOBOX (apdirids)

Interesting:

  • get root AttrProf directory ID
  • get all sub directories
  • print list of IDs

Versions and Changes ​

Available since ADOxx 1.3