home .. forth .. colorforth mail list archive ..

Re: [Re: [colorforth] Dare I say ANS!]


I personally like C@. "Portability" is a touchy subject here, I know, but C@
is much more portable than 1@ or 2@ for getting a "character" (not necessarily
a byte). However, it is very easy to do:

: C@ 1@ ;

or

: C@ 2@ ;

As Samuel stated earlier, though, it does confuse the issue of strings and
limiting them to 255 characters in length. There is ambiguity that needs to be
resolved.

Jeff

"Howerd Oakford" <howerd.oakford@xxxxxxxxxxxx> wrote:

c@ is tricky. You seem to be saying that ANS got it wrong, so we should do it
right ;)



---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com