Jump to content

Terminal control/Display an extended character: Difference between revisions

→‎{{header|REXX}}: re-wrote the REXX program so it can be executed on an EBCDIC or ASCII machine.
(→‎{{header|Dc}}: ++spaces)
(→‎{{header|REXX}}: re-wrote the REXX program so it can be executed on an EBCDIC or ASCII machine.)
Line 356:
 
=={{header|REXX}}==
<lang rexx>/*REXX program to demonstratedemonstrates displaying an extended character. (glyph) to the terminal. */
/* [↓] this will display the £ glphy (if term supports it).*/
 
say d2c(163)'£' /*assuming the pound sign glyph is 163displayable on the displayterm. codepage*/</lang>
/* [↑] this can execute on an EBCDIC or ASCII machine. */
/*stick a fork in it, we're all done. */</lang>
{{out|output|text=:}}
<pre>
£
</pre>
 
=={{header|Ring}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.