Re: Loop syntax
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Loop syntax
 
- From: "Matthew M. Burke" <mmburke@...>
 
- Date: 2006年11月03日 14:56:34 -0500
 
Reuben Thomas wrote:
Can't help noting that in Forth, because of its simple syntax, this is 
exactly how normal while loops work:
begin ... [condition on stack] while ... repeat
Darn! That's the problem with receiving this list as a digest. I was
going to point this out, but now I'm reduced to posting a silly "me too"
comment :(
To add a little value: one of the things I like about Forth: the
ability to easily create custom control structures. Of course
forthwrights also get into endless discussions about whether switch is a
solution seeking a problem...
Matt