Page 1 of 1

Global Variable Must be Constant

Posted: Thu Jun 14, 2012 1:36 pm
by murph
I get the subject error when I try to set a global variable to a random interger using randint(2,10)

Anybody know of trick that might initialize a variable for use by susequent shapes... to a random
number?

Re: Global Variable Must be Constant

Posted: Thu Jun 14, 2012 11:50 pm
by MtnViewJohn
That restriction has been removed. Are you on the latest version?

Re: Global Variable Must be Constant

Posted: Fri Jun 15, 2012 2:07 pm
by murph
Yup, embarassed again. The latest version works fine. Either I or installer might have switched the win7 directory from //Program Files (386) to //Program Files; so the shortcut still lead me to the old exe. Is the newer version 64bit?

Re: Global Variable Must be Constant

Posted: Sat Jun 16, 2012 11:17 am
by MtnViewJohn
Yes, the new version is 64bit. I should tweak the installer to uninstall a 32-bit version before installing a 64bit version.