Hi,
Try CHR(150) or CHR(151)
By the way, you can find this out easily.. in the following way...
Create a myChr.PRG
FOR I=1 to 255
? i, CHR(i)
wait
ENDFOR
and in the command window give the command DO myChr
You can identify the number you want !
To know the difference between CHR 150 & 151 ...
in the command window, issue the command...
? REPLICATE(CHR(150),50)
? REPLICATE(CHR(151),50)
Just to clarify CHR() really does return the same character in all versions of FP / VFP, it's just that depending on the current font, it may look different <g>.
In FPW, MS supplied FOXFONT.FON for "duplicating" the DOS character set on screens, and FOXPRINT.TTF printing it.
The MS supplied TERMINAL.FON also uses the standard "IBM DOS" character set. There are others available on on the web - you just have to look for (and sometimes pay for) them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.