User Tools

Site Tools


prpl:removelistelement

Differences

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

Link to this comparison view

prpl:removelistelement [2016/12/02 18:33] – external edit 127.0.0.1prpl:removelistelement [2017/08/30 08:55] (current) – Added description kajacx
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#lists|Lists]]
  
-=====  REMOVELISTELEMENT  =====+=====  RemoveListElement  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+list position | | [ list int - ] |
  
  
 === Description === === Description ===
 +Removes an element from a list at a given position. Position are indexed from 0.
 +
 +Elements after the removed one will be shifted towards the start of the list.
  
 === Examples === === Examples ===
-<code> i1 = GetIntFromStack();  +<code> 
- list1 = GetListFromStack();  +"a" "b" "c" PrependStackToList ->list #["a", "b", "c" 
- +<-list 1 RemoveListElement #["a", "c"]
 </code> </code>
  
prpl/removelistelement.1480721630.txt.gz · Last modified: 2017/08/30 08:55 (external edit)