View Phoenix B)'s post (DATA. How does it...) for this comment.

SmileBASIC Community

DasEtwas

Spoilers · 01/05/2016 6:37 PM

so, if you want to store a map made out of tiles with IDs, use this code: DIM M(4,4) @MAP DATA 1,2,2,3 DATA 2,2,3,3 DATA 1,1,2,3 DATA 1,1,1,2 then RESTORE @MAP FOR I=0 TO 3 READ M(0,I), M(1,I), M(2,I), M(3,I) NEXT now you have converted the DATA block into an array

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: