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

Re: [colorforth] Question about displaying text


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 <alice@xxxxxxxxxxxxxx> 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: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com



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