Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 530 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Baklazhan, Hanky27, firatv, wandaluciaia, Mega_Rod
19052 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Strange // at the end of script #158781
10/05/07 10:07
10/05/07 10:07
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
When I place a // at the end of script
then click test run, the engine always
complain "syntax error" of this line.

I'm not sure if it is a bug, it won't
happen if you add some blank lines
below it.

Re: Strange // at the end of script [Re: vlau] #158782
10/05/07 10:44
10/05/07 10:44
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, this is a bug. It's deep in the bowels of the compiler, so I haven't fixed it yet as it has an easy and obvious workaround. But I have the intention to get rid of this someday.

Re: Strange // at the end of script [Re: jcl] #158783
10/07/07 10:52
10/07/07 10:52
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
@vlau:

Quote:

an easy and obvious workaround.




Place an /*eof*/ comment at the end. This helps.

Re: Strange // at the end of script [Re: HeelX] #158784
10/07/07 15:41
10/07/07 15:41
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline OP
Serious User
vlau  Offline OP
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Usually I don't add any "//" at the end of my script,
I just discover it occasionally Anyway, thanks for
the tips.


Moderated by  old_bill, Tobias 

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