Trying to write a formula where the result is an ASCII
symbol. ex: @ANS=CHAR(1) this should return a picture
of a smiling face? I get nothing when I use this formula
if I use other ASCII numbers, I do get results such as 64
returns @ etc. My question is do you have to format this
prompt in a certain way to get it to return a symbol or
is it not possible doing it in this manner?
Mark,
In my experience, it depends on the character set that AREV is using. If you would go to the editor, press , choose option 5 (ASCII table), this will display a popup of all the ASCII codes that AREV is using and their visual representations.
Matt Sorrell
@PRINTMODE=false prints graphics
@PRINTMODE=true executes control function
What you're trying to do can be problematic for a number of reasons. The character-set below ASCII 32 interacts with printers and some video-card drivers in unexpected ways: CHAR(6) sounds the BELL or BEEP, CHAR(9) is a TAB (which may or may not get expanded to some number of spaces), etc. The "Happy Face" character can be particularly troublesome if it is part of another sequence. Also remember, if you're writing data to disk this way a CTRL-Z (ASCII 26) is an end of file mark to DOS. This will do a neat trick on you if you try to copy a file in anything other than Binary mode.
Don Miller
C3 Inc.