Language Features: Difference between revisions

From NARS2000
Jump to navigationJump to search
Line 9: Line 9:
* [[Sink]]:  <apll>←R</apll>
* [[Sink]]:  <apll>←R</apll>
* [[Point Notation]]:  <ul><li>'''Base''' &mdash;  <apll>16b10FFFF</apll> as a shorthand for <apll>16{base}1 0 15 15 15 15</apll></li><li>'''Pi''' &mdash;  <apll>2p3</apll> as a shorthand for <apll>2π<sup>3</sup></apll> or <apll>2×(○1)*3</apll></li><li>'''Euler''' &mdash; <apll>2x3</apll> as a shorthand for <apll>2e<sup>3</sup></apll> or <apll>2×(*1)*3</apll>.</li></ul>
* [[Point Notation]]:  <ul><li>'''Base''' &mdash;  <apll>16b10FFFF</apll> as a shorthand for <apll>16{base}1 0 15 15 15 15</apll></li><li>'''Pi''' &mdash;  <apll>2p3</apll> as a shorthand for <apll>2π<sup>3</sup></apll> or <apll>2×(○1)*3</apll></li><li>'''Euler''' &mdash; <apll>2x3</apll> as a shorthand for <apll>2e<sup>3</sup></apll> or <apll>2×(*1)*3</apll>.</li></ul>
* [[Trains]]:  e.g., <apll>avg←(+/ ÷ )</apll> applies the functions to its argument(s) in a particular way (in this case, to compute the average of a numeric vector).
* [[Trains]]:  e.g., <apll>avg←(+/ ÷ >)</apll> applies the functions to its argument(s) in a particular way (in this case, to compute the average of a numeric vector).
* [[System Labels]]:  <apll>⎕PROTOTYPE</apll> and <apll>⎕IDENTITY</apll> in user-defined functions/operators.
* [[System Labels]]:  <apll>⎕PRO</apll> and <apll>⎕ID</apll> in user-defined functions/operators.


==Primitive functions==
==Primitive functions==

Revision as of 21:57, 29 August 2010

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

Primitive functions

Primitive operators

Datatypes

System Functions

System Variables