User Tools

Site Tools


prpl:setlistelementrpn

Differences

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

Link to this comparison view

prpl:setlistelementrpn [2016/12/02 18:33] – external edit 127.0.0.1prpl:setlistelementrpn [2017/08/30 08:49] (current) – Added description kajacx
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#lists|Lists]]
  
-=====  SETLISTELEMENTRPN  =====+=====  SetListElementRpn  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+value list position | | [ value list int - ] |
  
  
 === Description === === Description ===
 +Stores a value at the specified index of a list. The previously stored value is overwritten. 
 +
 +"Rpn" probably stands for "Reversed PositioN", because the arguments are in different order than in [[.:SetListElement|SetListElement]].
  
 === Examples === === Examples ===
-<code> // value, list, index  +<code> 
- i1 = GetIntFromStack();  +value, list, index  
- list1 = GetListFromStack();  +"MyValue" <-list 3 SetListElementRpn
- if (stack.Count > 0) { d1 = stack.Pop(); } else { d1 = new Data(0);}  +
- +
 </code> </code>
  
prpl/setlistelementrpn.1480721630.txt.gz · Last modified: 2017/08/30 08:49 (external edit)