Command: AppendTo

NEST HelpDesk Command Index NEST Quick Reference

Name:
 AppendTo - Append an object to a container

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.
Examples:
 /j [4 5] def  7 /j AppendTo j --> [4 5 7]
Author:
 Diesmann
FirstVersion:
 8.5.01
SeeAlso:Set JoinTo
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/mathematica.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative