NewFromSession (PersistentObjectInfo function)

From m204wiki
Revision as of 23:49, 18 August 2011 by JAL2 (talk | contribs) (→‎Usage notes)
Jump to navigation Jump to search

Get info about session object (PersistentObjectInfo class)

[Introduced in Sirius Mods 7.8]


Syntax

%persObjInfo = [%(PersistentObjectInfo):]NewFromSession( name)

Syntax terms

%persObjListA PersistentObjectInfo object variable.
(PersistentObjectInfo) The class name in parentheses denotes a shared method. NewFromSession can also be invoked via a PersistentObjectInfo object variable, which may be Null.
string A string that identifies the name of the session variable whose information is returned to %persObjList.

Usage notes

  • Invoking NewFromSession if not in a session cancels the request.

Examples

See also