ClassDescription (PersistentObjectInfo function)
Description of persistent object class (PersistentObjectInfo class)
[Introduced in Sirius Mods 7.8]
Syntax
%description = persObjInfo:ClassDescription
Syntax terms
%description | A string variable to contain the class description. Example return strings are "System:Stringlist", "MyUserLanguageClass", and "Arraylist of Object MyUserLanguageClass". |
---|---|
persObjInfo | A PersistentObjectInfo object variable. |
Usage notes
- ClassDescription is intended for debugging and problem diagnosis and not for application purposes. The format of its data is subject to change by Sirius; for example, a change in casing.
Examples
An example follows:
b %i is float %persInfo is object persistentObjectInfo %sl is object stringlist %sl = list('alpha', 'beta', 'ceta') %(Object):SetGlobal('ABC', %sl) %persInfo = newFromGlobal('ABC') printText {~} = {%persInfo:name}, {~} = {%persInfo:classDescription} end
The result is:
%persInfo:name = ABC, %persInfo:classDescription = System:Stringlist