You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I blind, or is there no way to insert/replace into arrays? I was about to make a feature request, but want to make sure I'm not just being silly. For example, the $arrayAdd[array, new-item, at-start] seems weird to me that we are using a boolean for the at-start. I feel like an int index would work better. I've basically had to make a really convoluted mess of custom variables just to get the logic of at-start = if (i == null || i is outofbounds then false) else if (i == 0 then true) otherwise -> split array at index i, add element, re-add split array after index i if inserting || i+1 if replacing
The text was updated successfully, but these errors were encountered:
plurninja via Discord:
Am I blind, or is there no way to insert/replace into arrays? I was about to make a feature request, but want to make sure I'm not just being silly. For example, the
$arrayAdd[array, new-item, at-start]
seems weird to me that we are using a boolean for the at-start. I feel like an int index would work better. I've basically had to make a really convoluted mess of custom variables just to get the logic ofat-start = if (i == null || i is outofbounds then false) else if (i == 0 then true) otherwise -> split array at index i, add element, re-add split array after index i if inserting || i+1 if replacing
The text was updated successfully, but these errors were encountered: