What is a "list" in microScript?
I think you could call it array instead, more details are in the documentation section :)
||Retains the length of the list (number of elements in the list).
||Adds the element to the end of the list
||Inserts an element at the beginning of the list
||Inserts an element at the given index in the list
||Returns the position of the element in the list (0 for the first element, 1 for the second element ...). Returns -1 when the element is not found in the list.
||Returns 1 (true) when element is in the list, or 0 (false) when the element cannot be found in the list
||Removes from the list the element at position index
||Removes from the list element, if it can be found in the list
||Returns a new list obtained by appending list2 to list1
Hello TinkerSmith! The fact is that I want to understand the difference between a "list" and an "array" :) Since in microStudio this thing is called a "list" - but at the same time it's kind of like an "array" (Similar to an array in JS). So what's the difference? I studied this question for a long time, but probably didn't come across the necessary information :)