Character codes: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|Phix}}: added personal tag) |
||
Line 1,748: | Line 1,748: | ||
{{libheader|Phix/basics}} |
{{libheader|Phix/basics}} |
||
Characters and their ascii codes are one and the same. (See also printf, %d / %s / %c.) |
Characters and their ascii codes are one and the same. (See also printf, %d / %s / %c.) |
||
⚫ | |||
<span style="color: #0000FF;">?</span><span style="color: #008000;">'A'</span> |
|||
⚫ | |||
<span style="color: #0000FF;"> |
<span style="color: #7060A8;">puts</span><span style="color: #0000FF;">(</span><span style="color: #000000;">1</span><span style="color: #0000FF;">,</span><span style="color: #000000;">65</span><span style="color: #0000FF;">)</span> |
||
<span style="color: #7060A8;">puts<span style="color: #0000FF;">(<span style="color: #000000;">1<span style="color: #0000FF;">,<span style="color: #000000;">65<span style="color: #0000FF;">) |
|||
<!--</syntaxhighlight>--> |
<!--</syntaxhighlight>--> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
Line 1,759: | Line 1,757: | ||
A |
A |
||
</pre> |
</pre> |
||
=={{header|Phixmonti}}== |
=={{header|Phixmonti}}== |
||
<syntaxhighlight lang="phixmonti">'a' print nl |
<syntaxhighlight lang="phixmonti">'a' print nl |