Python:Using globalvar for text global variable causes crash

For questions about using Classic.

Post » Wed Apr 07, 2010 9:27 am

I just downloaded the latest version of Python (0.99.84) since global variables couldn't be accessed directly in Python with 0.99.82. Pumped and all, I ran a little test to see if it works fine with a 'Number' global variable and it worked perfectly. Delighted, I assign a python variable to a 'Text' global variable and tested it out, expecting fireworks. All I got was a crappy runtime error...

Before I decide to post it on the bug tracker, I've replicated the bug and posted the *.cap file below to make sure it's not a problem with my laptop or anything.

Also, try changing the global variable to 'Number' and assign it a number; should run fine with the number being displayed at runtime.

[url:3kxyymbz]http://www.box.net/shared/trqk3ydqrz[/url:3kxyymbz]
B
2
S
2
G
3
Posts: 143
Reputation: 1,536

Post » Thu Apr 08, 2010 1:43 am

No one checked out the *.cap to confirm the bug? Ah well, I submitted it to the bug tracker last night anyway...
B
2
S
2
G
3
Posts: 143
Reputation: 1,536

Post » Thu Apr 08, 2010 1:51 am

It's a bug. Hopefully Rojohound can come to the rescue and fix it! :wink:
B
8
S
3
G
7
Posts: 835
Reputation: 5,313


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests