[chuck-users] good until loop
Andrew C. Smith
andrewchristophersmith at gmail.com
Fri Sep 24 11:37:02 EDT 2010
Yeah, I guess one thing we didn't really mention is that the argument
has to be a true/false value. until(5::second) won't work because
5::second will not evaluate to true nor false. I think that's the main
misconception.
-Andrew
2010/9/23 Kassen <signal.automatique at gmail.com>:
> sorry; odd keyboard shortcuts in Chromium
> until (foo)
> {
> do.stuff()
> }
> is equivalent to
> while (! foo)
> {
> do.stuff()
> }
> hope that helps,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
More information about the chuck-users
mailing list