Atomic vector: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''Atomic vector''' (<source lang=apl inline>⎕AV</source>) contains 256 characters. This was the entire character set in some of the older interpreters that did not support...") |
No edit summary |
||
Line 21: | Line 21: | ||
⌷⍂⌻⊢⊣◊┘┌█▄▌▐▀⍺⍹⊂⊃⍝⍲⍴⍱⌽⊖○∨⍳⍉∈∩⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨ | ⌷⍂⌻⊢⊣◊┘┌█▄▌▐▀⍺⍹⊂⊃⍝⍲⍴⍱⌽⊖○∨⍳⍉∈∩⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨ | ||
</source> | </source> | ||
<source lang=apl inline>⎕AV</source> is obsolete in Dyalog APL since Unicode Edition was introduced. The '''Unicode Atomic Vector''' (<source lang=apl inline>⎕AVU</source>) defines characters in <source lang=apl inline>⎕AV</source> as a list of Unicode code points. | |||
== Links == | == Links == | ||
* [https://help.dyalog.com/18.0/index.htm#Language/System%20Functions/av.htm Dyalog version 18.0 – Atomic Vector] | * [https://help.dyalog.com/18.0/index.htm#Language/System%20Functions/av.htm Dyalog version 18.0 – Atomic Vector] | ||
* Mastering Dyalog APL: [https://www.dyalog.com/uploads/documents/MasteringDyalogAPL.pdf#page=525 page 525] | |||
[[Category:System constants]] | [[Category:System constants]] |
Revision as of 01:04, 6 July 2020
Atomic vector (⎕AV
) contains 256 characters. This was the entire character set in some of the older interpreters that did not support Unicode.
In Dyalog APL:
6 41⍴10↓⎕AV ⌶ɫ%'⍺⍵_abcdefghijklmnopqrstuvwxyz��¯.⍬012 3456789�⊢¥$£¢∆ABCDEFGHIJKLMNOPQRSTUVWXYZ� �ý·?⍙ÁÂÃÇÈÊËÌÍÎÏÐÒÓÔÕÙÚÛÝþãìðòõ{€}⊣⌷¨ÀÄÅÆ ⍨ÉÑÖØÜßàáâäåæçèéêëíîïñ[/⌿\⍀<≤=≥>≠∨∧-+÷×?∊ ⍴~↑↓⍳○*⌈⌊∇∘(⊂⊃∩∪⊥⊤|;,⍱⍲⍒⍋⍉⌽⊖⍟⌹!⍕⍎⍫⍪≡≢óôöø "#�&´┘┐┌└┼─├┤┴┬│@ùúû^ü`∣¶:⍷¿¡⋄←→⍝)]� §⎕⍞⍣
In GNU APL:
5 45⍴31↓⎕AV !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwx yz{|}~¥€⇄∧∼≬⋆⋸⌸⌺⌼μ⍁¡⍣⍅⎕⍞⌹⍆⍤⍇⍈⍊⊤λ⍍⍏£⊥⍶⌶⍐⍑χ≢⍖⍗ ⍘⍚⍛⌈⍜⍢∪⍨⍕⍎⍬⍪∣│┤⍟∆∇→╣║╗╝←⌊┐└┴┬├─┼↑↓╔╚╩╦╠═╬≡⍸⍷∵ ⌷⍂⌻⊢⊣◊┘┌█▄▌▐▀⍺⍹⊂⊃⍝⍲⍴⍱⌽⊖○∨⍳⍉∈∩⌿⍀≥≤≠×÷⍙∘⍵⍫⍋⍒¯¨
⎕AV
is obsolete in Dyalog APL since Unicode Edition was introduced. The Unicode Atomic Vector (⎕AVU
) defines characters in ⎕AV
as a list of Unicode code points.
Links
- Dyalog version 18.0 – Atomic Vector
- Mastering Dyalog APL: page 525