> Andrew Clarke wrote:
>
> I see! I was just reading about explicitly using "suspend
> <some_expr>". I guess that in the case of my snippet, the "suspend" is
> implied - to someone who understands what's going on.
>
I was going to show that actually....
procedure do_to(m, n)
while m <= n do {
suspend m
m := m + 1
}
# fail
end
The commented-out fail is commented out because any procedure that "falls off
the end" implicitly fails
try
every writes(" ", do_to(do_to(1, 2), 3)))
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group