PUTI - Put and Increment Index Command

In the level 3 array or list, replaces with zput or objput the object whose position is specified in level 2, returning the new array or list and the next position in that array or list.

Level 3Level 2Level 1->Level 2Level 1
[[ matrix ]]1npos 1zput->[[ matrix ]]2npos 2
[[ matrix ]]1nr mc }1zput->[[ matrix ]]2nr mc }2
'namematrix'npos 1zput->'namematrix'npos 2
'namematrix'nr mc }1zput->'namematrix'nr mc }2
vector ]1npos 1zput->vector ]2npos 2
vector ]1npos 1  }zput->vector ]2npos 2  }
'namevector'npos 1zput->'namevector'npos 2
'namevector'npos 1 }zput->'namevector'npos 2  }
list }1npos 1objput->list }2npos 2
list }1npos 1 }objput->list }2npos 2 }
'namelist'npos 1objput->'namelist'npos 2
'namelist'npos 1 }objput->'namelist'npos 2 }

Adrian Drury
Last modified: Sat Jun 20 11:42:48 EDT 1998