[REBOL] Re: Using Switch with Words ??/C/C++
From: dness:home at: 1-Nov-2001 21:50
Joel Neely wrote:
> Hi, Anton,
> Anton Rolls wrote:
> > Except for the fact that you forgot the brackets!
> > He he :) Too much rebol, I think.
> > Anton.
> > > cout << value << endl;
> > >
> > > (but I couldn't resist writing a C version that's exactly one
> > > keystroke shorter! ;-)
> > > Given that the same thing can be coded in C as
> > > printf "%d\n", value;
> OK, then I'll make it Perl and tie for keystroke count! ;-)
> printf "%d\n", $value;
Not such good perl though. Try