PUT - Put Element Command

In the level 3 array or list, PUT replaces with zput or objput the object whose position is specified in level 2; if the array or list is unnamed, returns the new array or list.

Level 3Level 2Level 1->Level 1
[[ matrix ]]1npositionzput->[[ matrix ]]2
[[ matrix ]]1{ nrow mcol }zput->[[ matrix ]]2
'namematrix'npositionzput->
'namematrix'{ nrow mcol }zput->
[ vector ]1npositionzput->[ vector ]2
[ vector ]1{ nposition  }zput->[ vector ]2
'namevector'npositionzput->
'namevector'{ nposition }zput->
{ list }1npositionobjput->{ list }2
{ list }1{ nposition }objput->{ list }2
'namelist'npositionobjput->
'namelist'{ nposition }objput->

Adrian Drury
Last modified: Sat Jun 20 22:32:33 EDT 1998