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

Re: [colorforth] Question about displaying text


John, have you had a look at Windows colorForth block 232 yet?
I've done some stuff with that code as well, and when I recover here i'll post.


Ray

On 12/28/06, John Drake <jmdrake_98@xxxxxxxxx> wrote:

--- Robert Patten <pattenre@xxxxxxxxxxx> wrote:

> \ untested
>
> var s 2 ( hello  world ) \ s number of cells in()
>
> : stype  ( a-) dup  @ for  1 + @  dup  f and if
> space then drop
> : type ( an-) fffffff0 and unpack if emit type ;
> then drop next drop ;
>
> : ok show text s stype keyboard ;

Thanks.  After posting this plea I had done
something similair.

http://primarycolorforth.blogspot.com/2006/12/typing-colorforthver-20.html

And this is the best version so far:

http://primarycolorforth.blogspot.com/2006/12/typing-colorforthversion-30.html

Still need to handle "extended" words better.
But I have an idea of how to do this.

Regards,

John M. Drake


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
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