Terminal control/Display an extended character: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Removed question)
Line 11: Line 11:


=={{header|PicoLisp}}==
=={{header|PicoLisp}}==
Something like this?
<lang PicoLisp>(prinl (char 26413) (char 24140)) # Sapporo </lang>
<lang PicoLisp>(prinl (char 26413) (char 24140)) # Sapporo </lang>
Output:
Output:

Revision as of 13:21, 2 December 2010

Terminal control/Display an extended character is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to display an extended (non ascii) character onto the terminal. For this task, we will display a £ (GBP currency sign).

J

<lang J> '£' £

  '札幌'

札幌</lang>

PicoLisp

<lang PicoLisp>(prinl (char 26413) (char 24140)) # Sapporo </lang> Output:

札幌

PureBasic

<lang PureBasic>Print(Chr(163))</lang>

£