What are arrays?
Arrays are a data type that can store items (including other arrays) inside of them. For example:
Once ran, the script will return "orange" since "orange" is the last item. "last" can be selected by clicking the dropdown on the "item () of ()" block.
Arrays vs Lists
Arrays | Lists | |
---|---|---|
Flexibility | Full, can be nested | Medium, 1D, cannot be nested |
Compatibility | AmpMod and its mods only | Scratch and all mods |