Discussions

SmileBASIC Community

doomdogfda12345

07/17/2016 2:50 PM ·Spoilers

Open Closed

how do i use the data command?

how do i use the data command? i have not used smile basic in a while

Advertisement

Comment

This post has no comments.

  • Use it to store data for later usage. It is usually used to store things such as enemy stats or entire levels. You write a data label like this... @DAT1 DATA 10,30,"SMTH" You can specify as much data as you want. You can then load this data with the RESTORE and READ command. Like this... RESTORE @DAT1 READ N1,N2,S$ Make sure to specify enough READ variables to load up all DATA constants.

    Yeahs1
    Played
  • thanks! im not very good at progaming yet and this will me a lot!!! i was curiose on how the data command works because it apeared many times in the example programes

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

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:

Post ID: 3DB-NBL7-DPU-2H7V-MMT-FM9K

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: