Language Features: Difference between revisions
From NARS2000
Jump to navigationJump to search
Sudleyplace (talk | contribs) |
Sudleyplace (talk | contribs) |
||
Line 30: | Line 30: | ||
==System Functions== | ==System Functions== | ||
* [[System Function UCS|<apll>⎕AF</apll>]] (Atomic Function) Synonymous with <apll>⎕UCS</apll> | * [[System Function UCS|<apll>⎕AF</apll>]] (Atomic Function) Synonymous with <apll>⎕UCS</apll> | ||
* [[System Function AV|<apll>⎕AV</apll>]] (Atomic Vector) | |||
* [[System Function CR|<apll>⎕CR</apll>]] (Canonical Representation) | * [[System Function CR|<apll>⎕CR</apll>]] (Canonical Representation) | ||
* [[System Function DM|<apll>⎕DM</apll>]] (Diagnostic Message) | * [[System Function DM|<apll>⎕DM</apll>]] (Diagnostic Message) | ||
* [[System Function DR|<apll>⎕DR</apll>]] (Data Representation) | * [[System Function DR|<apll>⎕DR</apll>]] (Data Representation) | ||
* [[System Function ERROR|<apll>⎕ERROR</apll>]] (Error Signal) | * [[System Function ERROR|<apll>⎕ERROR</apll>]] (Error Signal) | ||
* [[System Function MF|<apll>⎕MF</apll>]] (Monitor Function) | |||
* [[System Function NL|<apll>⎕NL</apll>]] (Name List) | |||
* [[System Function SIZE|<apll>⎕SIZE</apll>]] (Object Size) | * [[System Function SIZE|<apll>⎕SIZE</apll>]] (Object Size) | ||
* [[System Function SYSID|<apll>⎕SYSID</apll>]] (System Identifier) | * [[System Function SYSID|<apll>⎕SYSID</apll>]] (System Identifier) |
Revision as of 15:32, 17 September 2008
At the moment, the following sections describe only those language features that are New or Enhanced relative to the Extended APL Standard, or that deserve special comment.
Syntax
- Strand Assignment: (A1 A2 ... An)←R
- Modify Assignment: Af←R
- Modify Strand Assignment: (A1 A2 ... An)f←R
- Function/Operator Assignment: A←f, A←op1, A←op2
- Sink: ←R
Primitive functions
- Index Generator: ⍳R
- Index Of: L⍳R
- Indexing: R[L], R[L]←A, R[L]f←A, L⌷R, L⊃R
- Matrix Inverse/Divide: ⌹R, L⌹R
- Without: L~R
Primitive operators
- Axis: f[X], f op1[X], f op2[X]g
- Composition: f∘g, f∘R, L∘g
- Null: f⊙
- Rank: f⍤X
- Rank with Axis: f⍥[X]
Datatypes
- Infinity: ∞ and ¯∞
- Arithmetic Progression Arrays: 2 3 4⍴⍳24
- Unicode Characters
- Array Predicates
System Functions
- ⎕AF (Atomic Function) Synonymous with ⎕UCS
- ⎕AV (Atomic Vector)
- ⎕CR (Canonical Representation)
- ⎕DM (Diagnostic Message)
- ⎕DR (Data Representation)
- ⎕ERROR (Error Signal)
- ⎕MF (Monitor Function)
- ⎕NL (Name List)
- ⎕SIZE (Object Size)
- ⎕SYSID (System Identifier)
- ⎕SYSVER (System Version)
- ⎕TC/⎕TCxxx (Terminal Control)
- ⎕TF (Transfer Form)
- ⎕TYPE (Prototype)
- ⎕UCS (Universal Character Set)
System Variables
- Scalar System Variables (⎕CT, ⎕IO, ⎕PP, ⎕PW, ⎕RL)
- ⎕FC (Format Control)
- ⎕IC (Indeterminate Control)