Modified Assignment: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
No edit summary
Line 25: Line 25:
<br />
<br />
<br />
<br />
For example, <apl size="large">A+{is}1</apl> is shorthand for <apl size="large">A{is}A+1</apl>, and <apl size="large">A,{is}' '</apl> is shorthand for <apl size="large">A{is}A,' '</apl>.
For example, <apl size="large">A+←1</apl> is shorthand for <apl size="large">A←A+1</apl>, and <apl size="large">A,' '</apl> is shorthand for <apl size="large">A←A,' '</apl>.

Revision as of 10:55, 9 April 2008

Afn←R is shorthand for A←Afn R.
A[I]fn←R is shorthand for A[I]←A[I]fn R
A is a name with an existing value, I is an arbitrary index to A, R is an arbitrary array.



For example, A+←1 is shorthand for A←A+1, and A,←' ' is shorthand for A←A,' '.