Difference between revisions of "Error Messages/40616"

(Created page with '= Error Message Examples = You cannot assign to a slice or subscript of a global variable object. = Cause = You are trying to assign a value to a slice of a global variable…')
 
Line 10: Line 10:
 
= Remedies  =
 
= Remedies  =
  
One way to get around this issue is to use a Button which can have side effects and can assign to global variable slices. [[Scripting|Scripts and Buttons] are only available in Analytica Enterprise and higher.
+
One way to get around this issue is to use a Button which can have side effects and can assign to global variable slices. [[Scripting|Scripts and Buttons]] are only available in Analytica Enterprise and higher.
  
 
<br><comments />
 
<br><comments />

Revision as of 19:47, 22 January 2010

Error Message Examples

You cannot assign to a slice or subscript of a global variable object.

Cause

You are trying to assign a value to a slice of a global variable which is not allowed. Objects in Analytica are not allowed to have side effects, and can only change the values of local variables defined with a Var.


Remedies

One way to get around this issue is to use a Button which can have side effects and can assign to global variable slices. Scripts and Buttons are only available in Analytica Enterprise and higher.



You are not allowed to post comments.

Comments
<comments />