Skip to content

UPDATE_ALL_ATTRPROFS

The command UPDATE_ALL_ATTRPROFS forces alle attribute profiles to be updated.

Syntax

leo-grammar
CC "Core" UPDATE_ALL_ATTRPROFS


#-->RESULT ecode:intValue
CC "Core" UPDATE_ALL_ATTRPROFS


#-->RESULT ecode:intValue

Parameters

none

Returns

  • ecode (intValue) - the return value ecode is set to "0" is command was executed successfully and to non zero value if it failed.

Details

See Also

Examples

asc
# update
CC "Core" UPDATE_ALL_ATTRPROFS

IF ((ecode)!=0)
{
  CC "AdoScript" ERRORBOX ("Error "+(STR ecode)+" occured!")
  EXIT
}

CC "AdoScript" INFOBOX ("Updated all attribute profiles successfully!")
# update
CC "Core" UPDATE_ALL_ATTRPROFS

IF ((ecode)!=0)
{
  CC "AdoScript" ERRORBOX ("Error "+(STR ecode)+" occured!")
  EXIT
}

CC "AdoScript" INFOBOX ("Updated all attribute profiles successfully!")

Versions and Changes

Available since ADOxx 1.3