Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (EternallyCurious, AndrewAMD, ricky_k, 7th_zorro, 2 invisible), 478 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can't go to FALSEGOTO:DOUBLE? #471185
02/22/18 07:38
02/22/18 07:38
Joined: Apr 2002
Posts: 680
Germany
Turrican Offline OP
User
Turrican  Offline OP
User

Joined: Apr 2002
Posts: 680
Germany
Hi there. I got a bug report from another 3DGS user of this forum. While trying to start the source version of my current project in Test Run mode, the precompiler drops this error message:

Code:
Error in enemies2.c
Syntax error: Can't go to FALSEGOTO:DOUBLE



The user is working under a Windows 10 environment and owns the Acknex Pro version. The project compiles fine on three other systems and I've never seen this message before. Also, there's definitely no "goto" instruction in the specified script.

Any idea what this could relate to?

Re: Can't go to FALSEGOTO:DOUBLE? [Re: Turrican] #471186
02/22/18 08:27
02/22/18 08:27
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Sounds like you have a line of code as follows:

Code:
double d = 1.73;
if(d) error("true");
else error("false");



Either use var in that case or compare (d > 0) or (d < 0).


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Can't go to FALSEGOTO:DOUBLE? [Re: Superku] #471188
02/22/18 08:58
02/22/18 08:58
Joined: Apr 2002
Posts: 680
Germany
Turrican Offline OP
User
Turrican  Offline OP
User

Joined: Apr 2002
Posts: 680
Germany
Okay, I've checked my code, and I can rule that out. The only use of double variables is in a few printf instructions and our console. All according to the rules.

It's true that your code example produces this error when I add it to my main function, but the precompiler will continue and eventually start the game anyway.

During yesterday's test on the machine of the other 3DGS user however, it seems that the precompiler first throws the error, and then completely stops.

So... any other suggestions? I'd also like to emphasize again, that the project is starting up on other systems without this error.

Re: Can't go to FALSEGOTO:DOUBLE? [Re: Turrican] #471193
02/22/18 11:59
02/22/18 11:59
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Hmm that's strange. The other user did not modify files from the include folder, did he?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Can't go to FALSEGOTO:DOUBLE? [Re: Superku] #471196
02/22/18 12:56
02/22/18 12:56
Joined: Apr 2002
Posts: 680
Germany
Turrican Offline OP
User
Turrican  Offline OP
User

Joined: Apr 2002
Posts: 680
Germany
I'm pretty sure he didn't, but I'll ask him later when he's available.

Re: Can't go to FALSEGOTO:DOUBLE? [Re: Turrican] #471201
02/22/18 23:34
02/22/18 23:34
Joined: Apr 2002
Posts: 680
Germany
Turrican Offline OP
User
Turrican  Offline OP
User

Joined: Apr 2002
Posts: 680
Germany
Okay, false alarm. The user had version 8.47.0 installed, while the code was created with 8.47.1. After an update, the precompiler now runs without any problems. Thanks anyway!


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