View Clayton's post (DIM, VAR, and DAT...) for this comment.

SmileBASIC Community

Oscar

Spoilers · 06/20/2016 4:14 PMPlayed

An array is a collection of elements, each that can be accessed as an index of the array. It can hold multiple elements, but all of them must have the same type. Here's a visual example... DIM ARR[5] 'Declare an array of size 5. ARR[3]=7 'Assign 7 to the element in the array at index 3 ___ ___ ___ ___ ___ |_0_|_1_|_2_|_3_|_4_| < Indices |_0_|_0_|_0_|_7_|_0_| < Elements and their values

Advertisement

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Edit Comment

Select an action: