Modify Assignment

From NARS2000
Jump to: navigation, search
Af←R is shorthand for A←Af R.
A[I]f←R is shorthand for A[I]←A[I]f R
A is a name with an existing value, I is an arbitrary index to A, f is an arbitrary dyadic function, and R is an arbitrary array.


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