Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sledge to goto's knees? #293978
10/15/09 10:24
10/15/09 10:24
Joined: Dec 2005
Posts: 116
T
tD_Datura_v Offline OP
Member
tD_Datura_v  Offline OP
Member
T

Joined: Dec 2005
Posts: 116
"A7.80 Lite-C
This HAS been mentioned before, but maybe not in enough wrong ways.

concerning the "goto" 'instruction', a manual says:
Quote:

This command is supported


...and seems to partially mention the behavior some users / abusers of other programming languages might expect with:
Quote:

Jumps to a target label in the function and proceeds from there with the subsequent instructions.

...and:
Quote:

label may be any name followed by a colon as target mark anywhere between two instructions in the same function.


...but also seems to attest to its own consistency, while simultaneously mentioning what might be, for some, both an ultra-grand limitation, and an abundantly thorough explanation for wonderful, if not mysterious, "label not found" compiler utterances:
Quote:

The target label must be within the same winged brackets ({ .. }) as the goto instruction.


If the behavior of the 'instruction' isn't that which is expected by many, than a change to the behavior might be nice.

Also any responses which include excessively typical, extremely relevant lectures or rants advising against the use of "goto" are strongly encouraged."




Re: sledge to goto's knees? [Re: tD_Datura_v] #293982
10/15/09 11:07
10/15/09 11:07
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Gotta agree, kindof.
Either dump goto entirely, or fix it so that you can
goto 'downwards' instead of only 'upwards' as it is ATM.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: sledge to goto's knees? [Re: EvilSOB] #294096
10/16/09 08:43
10/16/09 08:43
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I have it on my list to fix this someday so that the ultra-grand limitation is removed. That's why it was not dumped yet. The fix is not so trivial, otherwise it had been done long ago.


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