Assignment: Difference between revisions

Jump to navigation Jump to search
33 bytes added ,  01:28, 13 February 2022
m
no edit summary
No edit summary
mNo edit summary
Line 17: Line 17:
│1│1 2 3│
│1│1 2 3│
└─┴─────┘
└─┴─────┘
<source>
</source>
A semicolon is necessary when dealing with a [[matrix]]:
A semicolon is necessary when dealing with a [[matrix]]:
<source lang=apl>
<source lang=apl>
Line 43: Line 43:
43
43
</source>
</source>
<source>var+←1</source> is essentially equivalent to <source>1⊣var←var+1</source> except that the result is [[shy]].
<source lang=apl inline>var+←1</source> is essentially equivalent to <source lang=apl inline>1⊣var←var+1</source> except that the result is [[shy]].
===Modified indexed assignment===
===Modified indexed assignment===
Modified assignment can also be combined with indexed assignment:
Modified assignment can also be combined with indexed assignment:

Navigation menu