APL Wiki logo: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky |
Miraheze>Marshall mNo edit summary |
||
Line 27: | Line 27: | ||
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 === | === 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 | 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 name]]s. | ||
=== Assignments === | === 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. |