Skip to content
Snippets Groups Projects
Commit b7a93117 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Implement Explicit Array Assignments

In order to create an array with the let command, arrays must be wrapped within [ and ] characters, like so:

let array = [ 1 2 3 ]
let copy_of_array = [  ]

Otherwise, if array arguments are passed to let but not wrapped within [ and ] characters, then the array arguments will be joined together as a string, with spaces between each element.
parent fa37ae6e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment