crpl:docs:insertlistelement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:insertlistelement [2013/08/22 07:33] – created Grauniadcrpl:docs:insertlistelement [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Testing if this page appears in alphabetical listing+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#lists|Lists]] 
 +=====  InsertListElement  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +| List, Index, Value |None| ''L1 i1 n1 -- ''
 + 
 + 
 +=== Description === 
 +Inserts the value ''n1'' at element location ''i1'' in list ''L1'', pushing the previous ''i1'' element and all subsequent elements up by one. 
 +=== Examples === 
 +<code> 
 +#Inserts the value of 5 at element #3 of list01 
 +<-list01 2 5 InsertListElement 
 +</code> 
 +Sample list ''list01'' before:\\ 
 +0 - 100\\ 
 +1 - 105\\ 
 +2 - 110\\ 
 +3 - 115 
 + 
 +Sample list ''list01'' after sample command:\\ 
 +0 - 100\\ 
 +1 - 105\\ 
 +2 - 5\\ 
 +3 - 110\\ 
 +4 - 115 
crpl/docs/insertlistelement.1377156782.txt.gz · Last modified: 2025/02/14 14:56 (external edit)