ENIGMA Forums

Contributing to ENIGMA => Proposals => Topic started by: RetroX on January 26, 2011, 03:25:45 pm

Title: do-until
Post by: RetroX on January 26, 2011, 03:25:45 pm
do-until doesn't work, and GM doesn't have do-while.  It's essentially do-!while, but we need it to work with GM.
Title: Re: do-until
Post by: Josh @ Dreamland on January 28, 2011, 12:41:01 am
It should work.
#define until(x...) while(!(x)) is all I do.

I'll look into it all the same.

Edit: I don't see where you got that it doesn't work. If it gets past the syntax check (which it does) there's no reason for it not to work.
Title: Re: do-until
Post by: RetroX on January 28, 2011, 10:24:20 am
I'll check again, but I think that it didn't work on the parser side.

Hmm, seems to be working now.  Odd.
Title: Re: do-until
Post by: Josh @ Dreamland on January 28, 2011, 02:10:12 pm
...
Title: Re: do-until
Post by: RetroX on January 28, 2011, 02:53:54 pm
Never mind me, just lock this. :V