Atomic vector: Difference between revisions
Jump to navigation
Jump to search
(→Value) |
(→APL2) |
||
Line 4: | Line 4: | ||
In the following, display of the the character sets are obtained using <source lang=apl inline>16 16⍴mask\(mask←32≤⎕UCS ⎕AV)/⎕AV</source> to replace control characters with spaces. | In the following, display of the the character sets are obtained using <source lang=apl inline>16 16⍴mask\(mask←32≤⎕UCS ⎕AV)/⎕AV</source> to replace control characters with spaces. | ||
=== APL2 === | === APL2 === | ||
[[ | [[APL2]] uses two primary values of <source lang=apl inline>⎕AV</source>, an [[wikipedia:ASCII|ASCII]]-based value on [[wikipedia:|personal computer]]s, and an [[wikipedia:EBCDIC|EBCDIC]]-based value on [[wikipedia:mainframe|mainframe]]s. The ASCII-based value is: | ||
<pre> | <pre> | ||
Line 23: | Line 23: | ||
⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨ | ⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨ | ||
</pre> | </pre> | ||
=== APLX === | === APLX === | ||
In order to maximise the probability of being able to represent the text when converting from Unicode to internal representation, [[APLX]] accepts as input a number of alternative Unicode values for certain characters. However, these are automatically mapped to normalised character, and any unmappable characters are replaced with a question mark. | In order to maximise the probability of being able to represent the text when converting from Unicode to internal representation, [[APLX]] accepts as input a number of alternative Unicode values for certain characters. However, these are automatically mapped to normalised character, and any unmappable characters are replaced with a question mark. |