Lists


    Aug 23 2018 | 11:39 am
    Can someone please help me, I’ve hit a bit of a road block with this. 
    I have a list made up of integers that is constantly changing in size and value, and I would like to select one of these integers using zl.nth  so that I can scale it up or down, and then reinsert it back into the list in the same position. 
    Here is an example. Let’s say the list consists of 1 24 6 9 74. I would like to select the 2nd number in the list which is 24 and scale it up to 48, so that the list becomes 1 48 6 9 74. Keep in mind that the list is a changing variable, as well as the scale value, and that I require numbers to be selected from the list based on their position rather than their numeric value.
    Can anyone suggest how i could do this?  

    • Aug 23 2018 | 1:48 pm
      look at zl nth helpfile
    • Aug 23 2018 | 8:10 pm
      @double_UG : thanks for the zl nth ability: elegant and usefull, i dydn't give attention enough to the right output... i made for myself this thing, liking multiple instances of coll, to understand my needs and then optimize the flow. Maybe that helps zzz
    • Aug 25 2018 | 2:58 am
      @double_UG: Thanks, this helps a lot. Nice and simple!