Name (PersistentObjectInfo function)

From m204wiki
Revision as of 20:17, 23 July 2014 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Name of persistent object (PersistentObjectInfo class)

[Introduced in Sirius Mods 7.8]


Syntax

%name = persObjInfo:Name

Syntax terms

%nameA string variable to contain the global or session name associated with the method object.
persObjInfo A PersistentObjectInfo object variable.

Examples

A simple 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

See also