Atomic vector: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
</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. | <source lang=apl inline>⎕AV</source> is obsolete in Dyalog APL since Unicode Edition was introduced. It no longer contains all the [[glyph]]s used for [[primitive function]]s and [[primitive operator|operators]] in Dyalog APL. | ||
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] | * Mastering Dyalog APL: [https://www.dyalog.com/uploads/documents/MasteringDyalogAPL.pdf#page=525 page 525] | ||
* [[Adám Brudzewsky]]'s [https://github.com/abrudz/SBCS Single-byte character set (SBCS)] | |||
[[Category:System constants]] | [[Category:System constants]] |
Revision as of 18:39, 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. It no longer contains all the glyphs used for primitive functions and operators in Dyalog APL.
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
- Adám Brudzewsky's Single-byte character set (SBCS)