6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Approach to operator broken
#418694
02/28/13 17:12
02/28/13 17:12
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
OP
Expert
|
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:
#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: jcl]
#418769
03/01/13 10:32
03/01/13 10:32
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
OP
Expert
|
OP
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
"Approach to operator" ... hmm, in this forum you're always learning something new. Well, it's also known as the "goes to" operator. 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
Chief Engineer
|
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: ++>
|
|
|
|