Re: Question about displaying text

"Ray St. Marie" <[email protected]>
Newsgroups gmane.comp.lang.forth.colorforth
Message-ID <[email protected]>
Hi John,
Ray here,

I noticed that greet is just being used for it's address,
It could also hold the count for stype to iterate over.

variable greet 2 hello world

In the case of words with extension tag 0, either
give the proper number of bytes...

variable greet 3 Welcome world

that would use 3 bytes as Welcome is 2 with one extention
and world is the 3rd,

or modify stype to do read the tag and then make it loop
when an extension tag 0 is read.

I'll be trying some of this when I can.

Good Luck, Ray

On 12/27/06, Nick Maroudas <[email protected]> wrote:
> On 26/12/06 John Drake asked:
>
> "How can
> I get ColorForth to differentiate between
> short words like "hello" that get packed
> into a single 32 bit word and longer words
> like "bookends" that take 2 32 bit words?
>
> Clearly the editor knows how to do this
> because it displays "bookends" just fine.
>
> Regards,
>
> John M. Drake "
>
> Nick here:  I can't help, but I note that Howerd Oakford's editor (see his CF for DOS) has no difficulty in "unpacking" Chuck's original CF ie, listing the whole of it with an ASCII translation at the side.  Howerd also gives an ASCII translation table.  How is that done? (Topic for an advanced chapter on the editor, perhaps).
>
> Regards,
>
> Nick Maroudas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> Main web page - http://www.colorforth.com
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.