GlobalList (PersistentObjectInfo function)
Get list of global objects (PersistentObjectInfo class)
[Introduced in Sirius Mods 7.8]
Syntax
%persObjList = %(PersistentObjectInfo):GlobalList[( [matchString])]
Syntax terms
%persObjList | An Arraylist of Object PersistentObjectInfo object variable. |
---|---|
(PersistentObjectInfo) | The class name in parentheses denotes a shared method. GlobalList can also be invoked via a PersistentObjectInfo object variable, which may be Null. |
matchString | An optional, case-sensitive, pattern-matching string that identifies the name(s) of the global(s) whose information is to be returned to %persObjList. The default if no string is provided is to return information of all global objects. |
Usage notes
Examples
The following statement sorts by setting time the contents of the Arraylist returned by GlobalList:
%persInfoList = %(object):globalList:sortNew(descending(setTime))