Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,549 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Syntax error #95146
10/20/06 14:35
10/20/06 14:35
Joined: Aug 2004
Posts: 87
IDontLikeSoccer Offline OP
Junior Member
IDontLikeSoccer  Offline OP
Junior Member

Joined: Aug 2004
Posts: 87
I was update my old 6.31 version of GameStudio with last updates v6.51, and when i run my old code i get error message: syntax error and read only key_x

Here is example:

create(<bonusup.tga>,my.x,exp_display); //Syntax Error

IF (mouse_left == 1) { key_alt = 1; } //Read only key_alt

What i must change in these lines if i want get this code to work?

thanks

Re: Syntax error [Re: IDontLikeSoccer] #95147
10/20/06 14:59
10/20/06 14:59

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Hmmmm, let me think.
Hmmm?? Hmmmm???
Oh YES!! - no
Hmmmmmm, hmmmm....
YAEH!!!!

key_alt is a constant!
And a constant is "read only" that means you can't assign a value to it.

create(...) should be ent_create(...)
<image.bmp> should be "image.bmp" or:

string my_img = <image.bmp>;
ent_create(my_img, ...

mercuryus

PS: can't imaging, this worked with 6.3x


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1