Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Approach to operator broken #418694
02/28/13 17:12
02/28/13 17:12
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline OP
Expert
WretchedSid  Offline OP
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Hey JCL,

it seems like the approach to ("-->") operator is broken in the latest A8 version, is it possible to get that fixed in the next update? Test case:

Code:
#include <acknex.h>

void main()
{
    int i = 10;
    while(i --> 0)
    {
        printf("%i", i);
    }
}



According to the C standard, I would expect an output of "9, 8, 7, 6, 5, 4, 3, 2, 1, 0", but the 0 is never printed.

Last edited by JustSid; 02/28/13 17:20.

Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Approach to operator broken [Re: WretchedSid] #418763
03/01/13 08:11
03/01/13 08:11
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
"Approach to operator" ... hmm, in this forum you're always learning something new.

Moved to the lite-C Forum as one of the special lite-C puzzles. Who can tell JustSid how the notorious "Approach to operator" looks like, and why he's apparently confused it with the even more notorious "Approach Almost To" operator?

Re: Approach to operator broken [Re: jcl] #418769
03/01/13 10:32
03/01/13 10:32
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline OP
Expert
WretchedSid  Offline OP
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: jcl
"Approach to operator" ... hmm, in this forum you're always learning something new.

Well, it's also known as the "goes to" operator.

Originally Posted By: jcl
Who can tell JustSid how the notorious "Approach to operator" looks like, and why he's apparently confused it with the even more notorious "Approach Almost To" operator?

I can answer both questions. But that would take the fun out of the approach to operator.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Approach to operator broken [Re: WretchedSid] #418771
03/01/13 10:38
03/01/13 10:38
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Ok, then I can as well provide the answers.

Approach to operator: -->=

Approach Almost to operator: -->

Approach Never to operator: ++>

wink

Re: Approach to operator broken [Re: jcl] #418783
03/01/13 15:41
03/01/13 15:41
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Why has this been moved to Lite-C Programming. I think you should really fix this, jcl! grin


Always learn from history, to be sure you make the same mistakes again...
Re: Approach to operator broken [Re: Uhrwerk] #418793
03/01/13 18:01
03/01/13 18:01
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Haha he almost got you laugh


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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