Consultor Eletrônico



Kbase 15538: How to display extended ascii values
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How to display extended ascii values

How to display extended ascii values

The CHR() function will not work for the extended ascii values
because this function only handles a range of 1 to 255.

PROGRESS uses the Octal equivalence of the escape sequences.
You will need to locate a table that contains the extended
character set so that you can match the value with the
special character set.

<ESC>(0 <-- this puts the terminal into line drawing mode
The octal equivalent is ~033~050~060

<ESC>(B <-- this turns off line drawing
The octal equivalent is ~033~050~102

For example:
to display a diamond character on the terminal where ~140 is the
octal equivalent:

PUT SCREEN NO-ATTR-SPACE "~033~050~060" +
"~140~033~050~102".

The following will also work:

PUT SCREEN NO-ATTR-SPACE "~033(0" + "~140" + "~033(B".


jyt
06-mar-96


Progress Software Technical Support Note # 15538