In the hopes that someone will improve this program, I am posting it here
for your enjoyment.  If anyone has suggestions, please send me mail/post
in this group.  The improvements I have in mind lie in speed.  This program
takes an inordinate amount of time.  A m-code version would be desireable
(Alanzo ?)  

As another idea, I suggest the following.  It should make more sense after
you look at the program.

Take the string that LCD-> makes then XOR the string with a string composed
of entirely chr(0) execpt where the highlight is to be placed.  At these
points, the chr. value would be 255.  The resulting XOR'ed string would
provide a highlighted portion of the display.  Did anyone follow that ?

I think this method would be preferable for a machine code version.

Robert Thompson
Center for Computer Asslsted Engineering 
Colorado State University

-------

usage: x y width HL  where x is x position in pixels ans y is 1, 2, 3, or 4

HL
<<	-> X Y W
  << LCD -> ->S
    << "" 1 W 
	START 255 CHR 
+ 
	NEXT Y 1 - 137 
* X + 1 + DUP W + 1
- S 3 PICK 3 PICK
SUB 4 PICK XOR S 3
PICK 1 + 548 SUB + S
1 5 PICK 1 - SUB 
SWAP + 4 ROLLD 3
DROPN ->LCD
    >>
  >>
>>




