MSIR.0798 Explicit (globses) name required for shared variables: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
mNo edit summary
Line 1: Line 1:
A shared class variable was declared as Global or Session but no global or session name was specified. While non-class global or session variables use the variable name (without the leading percent) as their global or session name if one is not specified, shared variables do not.<p class="code"> Specify an explicit global name as in the following example:<p class="code"> class silly public shared variable absurd is object stringList - shared('SILLY:ABSURD') end public shared end class</pre>
A shared class variable was declared as Global or Session but no global or session name was specified. While non-class global or session variables use the variable name (without the leading percent) as their global or session name if one is not specified, shared variables do not.
 
Specify an explicit global name, as in the following example:
<p class="code">class silly  
  public shared  
    variable absurd is object stringList shared('SILLY:ABSURD')  
  end public shared  
end class</p>


[[Category:Sirius Mods messages]]
[[Category:Sirius Mods messages]]

Revision as of 18:35, 23 April 2014

A shared class variable was declared as Global or Session but no global or session name was specified. While non-class global or session variables use the variable name (without the leading percent) as their global or session name if one is not specified, shared variables do not.

Specify an explicit global name, as in the following example:

class silly public shared variable absurd is object stringList shared('SILLY:ABSURD') end public shared end class