NewFromGlobal (PersistentObjectInfo function)
Get info about global object (PersistentObjectInfo class)
[Introduced in Sirius Mods 7.8]
Syntax
%persObjInfo = [%(PersistentObjectInfo):]NewFromGlobal( name)
Syntax terms
%persObjInfo | A PersistentObjectInfo object variable. |
---|---|
[(PersistentObjectInfo)] | For a shared function, this optional specification of the class in parentheses denotes a virtual constructor. See "Usage notes", below, for more information about invoking a PersistentObjectInfo virtual constructor. |
string | A string that identifies the name of the global variable whose information is returned to %persObjList. |
Usage notes
- As described in "Virtual Constructor methods", IsNull and IsNotNull can be invoked with
no method object, with an explicit class specification, or with an object variable of the class,
even if that object is Null:
%selCrit = IsNull %selCrit = %(SelectionCriterion for float):IsNotNull %selCrit = %selCrit:IsNull
Note: As shown in the second of these above, if you explicitly specify the class name, you must include the item datatype of the collection to be searched, just as on a SelectionCriterion object variable's declaration.