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

SmileBASIC Community

Oscar

Spoilers · 06/20/2016 1:37 PMPlayed

You can specify OPTION DEFINT so that identifiers without suffix declare as integers by default. DATA's usage isn't really too obvious or apparent. It is mainly used to save constant struct-like data, which can be recovered using the READ instruction. In other words, it is mainly used as a way to save specifically structured data inside your program's code, such as enemy data, for example.

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: