APL Wiki logo: Difference between revisions

Jump to navigation Jump to search
44 bytes added ,  01:44, 3 November 2019
Miraheze>Adám Brudzewsky
Miraheze>Adám Brudzewsky
Line 24: Line 24:
By the way, IO stands for [[Index origin|Index Origin]].
By the way, IO stands for [[Index origin|Index Origin]].


We can already now observe a couple of APL's characteristics:
We can already now observe a couple of APL's characteristics…
 
=== No reserved words ===
* The name <source lang=apl inline>⎕IO</source> begins with the special [[Quad]] character (a stylised console) which symbolises the computer system itself. APL has no reserved words. Rather, all built-in constants, variables, functions and operators have the prefix <source lang=apl inline>⎕</source> indicating that they are part of the system. Because of this, we call them [[quad names]].
The name <source lang=apl inline>⎕IO</source> begins with the special [[Quad]] character (a stylised console) which symbolises the computer system itself. APL has no reserved words. Rather, all built-in constants, variables, functions and operators have the prefix <source lang=apl inline>⎕</source> indicating that they are part of the system. Because of this, we call them [[quad names]].
 
=== Assignments ===
* [[Assignment]] is not done with <source lang=apl inline>=</source> like in many other programming languages, but rather with <source lang=apl inline>←</source> which also indicates the direction of the assignment: Whatever is on the right gets put into the name on the left.
* [[Assignment]] is not done with <source lang=apl inline>=</source> like in many other programming languages, but rather with <source lang=apl inline>←</source> which also indicates the direction of the assignment: Whatever is on the right gets put into the name on the left.


Navigation menu