Global Variable Must be Constant

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
murph
Posts: 4
Joined: Wed Jul 20, 2011 5:28 am

Global Variable Must be Constant

Post 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?

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Global Variable Must be Constant

Post by MtnViewJohn »

That restriction has been removed. Are you on the latest version?

murph
Posts: 4
Joined: Wed Jul 20, 2011 5:28 am

Re: Global Variable Must be Constant

Post 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?

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Global Variable Must be Constant

Post by MtnViewJohn »

Yes, the new version is 64bit. I should tweak the installer to uninstall a 32-bit version before installing a 64bit version.

Post Reply