Pages: 1
Author Topic: do-until  (34,731 Views)
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Posted on: January 26, 2011, 08: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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #1 Posted on: January 28, 2011, 05: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.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #2 Posted on: January 28, 2011, 03:24:20 PM
I'll check again, but I think that it didn't work on the parser side.

Hmm, seems to be working now.  Odd.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #3 Posted on: January 28, 2011, 07:10:12 PM
...
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #4 Posted on: January 28, 2011, 07:53:54 PM
Never mind me, just lock this. :V
Pages: 1