3,038
edits
(Created page with "{| class=vertical-navbox style="float:right; font-size:500%; margin:0 1ex;" |<code><nowiki>⍝</nowiki></code> |} APL allows a '''comment''' at the end of a line, separating (optional) code on the left from comments on the right using the lamp glyph <syntaxhighlight lang=apl inline>⍝</syntaxhighlight>, thus forming a line comment: <syntaxhighlight lang=apl> 2+3 ⍝ An example of addition 5 </syntaxh...") |
m (APL syntax category) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 35: | Line 35: | ||
2 ⟃ inline comment ⟄ 3 | 2 ⟃ inline comment ⟄ 3 | ||
2 3 | 2 3 | ||
</syntaxhighlight>{{Works in|[[ | </syntaxhighlight>{{Works in|[[APL64]]}} | ||
== Special comments == | == Special comments == | ||
Line 44: | Line 44: | ||
[[Dyalog APL]]'s ''Simple APL Library Toolkit'' (SALT) used <syntaxhighlight lang=apl inline>⍝∇:require</syntaxhighlight> as an instruction to load another source file before the current one, although this eventually was superceded by a proper <syntaxhighlight lang=apl inline>:Require</syntaxhighlight> [[keyword]]. | [[Dyalog APL]]'s ''Simple APL Library Toolkit'' (SALT) used <syntaxhighlight lang=apl inline>⍝∇:require</syntaxhighlight> as an instruction to load another source file before the current one, although this eventually was superceded by a proper <syntaxhighlight lang=apl inline>:Require</syntaxhighlight> [[keyword]]. | ||
{{APL | {{APL syntax}}[[category:APL syntax]] |