Difference between revisions of "Error Messages/40018"

m
Line 12: Line 12:
 
Changing the value of the global variable inside another variable is, generally, not a good practice.  
 
Changing the value of the global variable inside another variable is, generally, not a good practice.  
 
<br><br>
 
<br><br>
You can assign to global variables using scripts through a Buttons.
+
You can assign to global variables using scripts through a Buttons if there are no other workarounds.
  
 
<comments />
 
<comments />

Revision as of 20:50, 7 January 2010

Error Message Examples

You can only assign to a local variable. X is not a local variable.

Cause

This error is caused when a global variable is assigned inside another variable definition. You can only assign values to local variables defined by using var inside the definition.


Remedies

Changing the value of the global variable inside another variable is, generally, not a good practice.

You can assign to global variables using scripts through a Buttons if there are no other workarounds.


You are not allowed to post comments.

Comments
<comments />