Language Features: Difference between revisions
From NARS2000
Jump to navigationJump to search
Sudleyplace (talk | contribs) |
Sudleyplace (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
* [[Matrix Inverse/Divide]]: <apll>⌹R</apll>, <apll>L⌹R</apll> | * [[Matrix Inverse/Divide]]: <apll>⌹R</apll>, <apll>L⌹R</apll> | ||
* [[Without]]: <apll>L~R</apll> | * [[Without]]: <apll>L~R</apll> | ||
==Primitive operators== | ==Primitive operators== | ||
* [[Axis]]: <apll><i>f</i>[<i>X</i>]</apll>, <apll><i>f op1</i>[<i>X</i>]</apll>, <apll><i>f op2</i>[<i>X</i>]g</apll> | * [[Axis]]: <apll><i>f</i>[<i>X</i>]</apll>, <apll><i>f op1</i>[<i>X</i>]</apll>, <apll><i>f op2</i>[<i>X</i>]g</apll> | ||
Line 24: | Line 23: | ||
* [[APA|Arithmetic Progression Arrays]]: <apll>2 3 4⍴⍳24</apll> | * [[APA|Arithmetic Progression Arrays]]: <apll>2 3 4⍴⍳24</apll> | ||
* [[Unicode|Unicode Characters]] | * [[Unicode|Unicode Characters]] | ||
==System Functions== | ==System Functions== | ||
* [[CR|<apll>⎕CR</apll>]] (Canonical Representation) | * [[CR|<apll>⎕CR</apll>]] (Canonical Representation) | ||
Line 36: | Line 34: | ||
* [[TYPE|<apll>⎕TYPE</apll>]] (Prototype) | * [[TYPE|<apll>⎕TYPE</apll>]] (Prototype) | ||
* [[UCS|<apll>⎕UCS</apll>]] (Universal Character Set) | * [[UCS|<apll>⎕UCS</apll>]] (Universal Character Set) | ||
==System Variables== | ==System Variables== | ||
* [[Scalar System Variables]] (<apll>⎕CT</apll>, <apll>⎕IO</apll>, <apll>⎕PP</apll>, <apll>⎕PW</apll>, <apll>⎕RL</apll>) | * [[Scalar System Variables]] (<apll>⎕CT</apll>, <apll>⎕IO</apll>, <apll>⎕PP</apll>, <apll>⎕PW</apll>, <apll>⎕RL</apll>) | ||
* [[FC|<apll>⎕FC</apll>]] (Format Control) | * [[FC|<apll>⎕FC</apll>]] (Format Control) | ||
* [[IC|<apll>⎕IC</apll>]] (Indeterminate Control) | * [[IC|<apll>⎕IC</apll>]] (Indeterminate Control) | ||
==System Commands== | |||
* [[CLOSE|)CLOSE]] | |||
* [[COPY|)COPY]] | |||
* [[EDIT|)EDIT]] | |||
* [[EXIT|)EXIT]] | |||
* [[NEWTAB|)NEWTAB]] | |||
* [[RESET|)RESET]] |
Revision as of 09:44, 1 May 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: ←A
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
System Functions
- ⎕CR (Canonical Representation)
- ⎕DM (Diagnostic Message)
- ⎕DR (Data Representation)
- ⎕ERROR (Error Signal)
- ⎕SIZE (Object Size)
- ⎕SYSID (System Identifier)
- ⎕SYSVER (System Version)
- ⎕TC/⎕TCxxx (Terminal Control)
- ⎕TYPE (Prototype)
- ⎕UCS (Universal Character Set)
System Variables
- Scalar System Variables (⎕CT, ⎕IO, ⎕PP, ⎕PW, ⎕RL)
- ⎕FC (Format Control)
- ⎕IC (Indeterminate Control)