APL Wiki logo: Difference between revisions
Jump to navigation
Jump to search
→Assignments
Miraheze>Adám Brudzewsky (→Code) |
Miraheze>Adám Brudzewsky |
||
Line 29: | Line 29: | ||
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 === | === 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. | |||
=== Generating indices === | === Generating indices === |