Re: The Down Arrow
- Posted by DonCole Oct 27, 2012
- 1392 views
CoJaBo2 said...
You would need to use Unicode functions to get symbols like that to display; its possible there aren't any in..win32lib.ew?, its been a long while since I've used Windows.. The documentation should say, but its not available online.
DonCole said...
I get the same problem with down arrow (ascii 281) and up arrow (ascii 280).
Where are you getting these codes, btw? ASCII (actually, I think Windows uses Windows-1252) is 32-255 (with a few left out in the middle).
I'm getting from this test program that I wrote:
include get.e integer c,i c=0 procedure print_out(integer c) for x=1 to 20 do puts(1, sprintf("x=%2d",x) &" ") puts(1, sprintf("c=%2d",c) &" ") puts(1, sprintf("c+x=%2d",x+c) &"=") puts(1, sprintf("%s",x+c) &" ") puts(1, sprintf("%2d",x+c+20) &"=") puts(1, sprintf("%s",x+c+20) &" ") puts(1, sprintf("%2d",x+c+40) &"=") puts(1, sprintf("%s",x+c+40) &" ") puts(1, sprintf("%2d",x+c+60) &"=") puts(1, sprintf("%s",x+c+60) &" ") puts(1, sprintf("%2d",x+c+80) &"=") puts(1, sprintf("%s",x+c+80) &" ") puts(1, sprintf("%2d",x+c+100) &"=") puts(1, sprintf("%s",x+c+100) &" ") puts(1, sprintf("%2d",x+c+120) &"=") puts(1, sprintf("%s",x+c+120) &" ") puts(1, sprintf("%2d",x+c+140) &"=") puts(1, sprintf("%s",x+c+140) &"\n") end for end procedure while 1 do print_out(c) puts(1, "hit any key\n") i=wait_key() c+=20 end while
Don Cole