User Tools

Site Tools


4rpl:commands:setlistelementrpn

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:setlistelementrpn [2021/01/14 15:34] – created Sanian4rpl:commands:setlistelementrpn [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
- <=[[4rpl:start| Index]]+ <=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#lists| Lists]]
  
 ====== SetListElementRPN ====== ====== SetListElementRPN ======
  
-SetListElement(<-value <-list <-index)+SetListElementRPN(<-value <-list <-index)
  
 ===== Description ===== ===== Description =====
Line 10: Line 11:
  
 If a list is stored in a variable, setting a value in it can be abbreviated to ''<-value ->list[<-index]'', which will be executed as ''<-value <-list <-index SetListelementRPN'' If a list is stored in a variable, setting a value in it can be abbreviated to ''<-value ->list[<-index]'', which will be executed as ''<-value <-list <-index SetListelementRPN''
 +
 +For doing the same thing but with arguments in order of **list**, **index**, **value**, see [[4rpl:commands:setlistelement|SetListElement]]
  
 ===== Examples ===== ===== Examples =====
  
 <code 4rpl> <code 4rpl>
-Split("1,2,3,4,5,6" ",") ->list1 +1 2 3 4 5 6 ListN(6) ->list1 
-Split("1,2,3,4,5,6" ",") ->list2+1 2 3 4 5 6 ListN(6) ->list2
  
 0 ->index 0 ->index
4rpl/commands/setlistelementrpn.1610638468.txt.gz · Last modified: 2025/02/14 14:56 (external edit)