gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] CASE syntax?


From: Terrence Brannon
Subject: Re: [gforth] CASE syntax?
Date: Sat, 6 Mar 2010 20:27:51 -0500

On Sat, Mar 6, 2010 at 6:15 PM, Dennis Ruffer <address@hidden> wrote:

>
> : junk ( n -- ) case
>    1 of 1 . endof
>    2 of 2 . endof
>    dup .
>  endcase ;
>
> Is a complete waste of space.  It simply displays the top number on the
> stack and each case ends up doing the same thing.
>
> Does that help?

yes, thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]