AppendTo

Command: AppendTo


Synopsis
any literal AppendTo -> --

Description

Assignment like AddTo. Compared to Mathematica the order of
arguments is reversed here because its more readable to
have the l-value close to the assignment operator
like in ... // Set[x #]& .
Allows for optimization of code.
File
lib/sli/mathematica.sli
Author
Diesmann
FirstVersion
8.5.01
Examples
/j [4 5] def 7 /j AppendTo j --> [4 5 7]

SeeAlso