Character codes: Difference between revisions

Content added Content deleted
m (GNU APL additions)
Line 626: Line 626:
The instruction <tt>.</tt> will output as an integer. <tt>,</tt> will output as ASCII character.
The instruction <tt>.</tt> will output as an integer. <tt>,</tt> will output as ASCII character.
<lang befunge>"a". 99*44*+, @</lang>
<lang befunge>"a". 99*44*+, @</lang>

=={{header|BQN}}==
BQN's character arithmetic makes it easy convert between numbers and characters. Since arithmetic generalizes to arrays, the same function works for both integers and arrays.

<lang bqn> FromCharCode ← @⊸+
@⊸+
FromCharCode 97
'a'
FromCharCode 97‿67‿126
"aC~"</lang>


=={{header|Bracmat}}==
=={{header|Bracmat}}==