Discussions

SmileBASIC Community

SomeThing…DJZouk2012

12/21/2016 10:16 AM ·Spoilers

Open Closed

Mini Help Guide Thingumajig

In the comments, I will share all of my knowledge of basic with anyone. (Don't ask, because there may be some things I don't know yet :p)

Advertisement

Comment

This post has no comments.

  • First, variables. Variables are EXTREMELY important. To set a variable, you can use the simple command, (variable name)=(number). You can also add multiple variables using just their name. Ex. (variable name)+(variable name). There's no need to put what it equals there. Also, test out my advice and send screenshots of your program.

    Yeahs0
  • Now, Loops. Loops start with an @ sign followed by the name of the Loop. Ex. @LOOP. You can also use GOTO @LOOP and then the program will go to the lines following the Loop until you put a space inbetween, like this. Also, another important command you must use to get rid of the text at the top right is ACLS. Put this at the beginning of the program, followed by a space inbetween as shown above.

    Yeahs0
  • Put OPTION STRICT in the beginning of your programs. It helps you find bugs. (Also, the most important tip, PLEASE don't ask for, or try to make Minecraft, Fnaf, and Undertale. One, it's copyright infringement. Two, you will quickly watch yourself fail at making it. Reskins are even worse. Make something FUN! Make something ORIGINAL! Make something UNIQUE!)

    Yeahs0
  • Also, COME TO MY LATEST FAVORITE COMMUNITY Japan has SmileBasic for Wii U early, but that's not really a surprise.

    Yeahs0
  • You're not using the right loops. The labels are not meant to be used for that, and even though they are in the examples, those are just bad habits the programmers picked up a long time ago. Use REPEAT<Code>UNTIL<Condition> and WHILE<Cond.><Code>WEND instead. Also, empty lines do not send a label code back to its source. GOSUB lets the label code return using RETURN. GOTO, which you mentioned,

    Yeahs0
    Played
  • forces the interpreter to run the code starting from the label no matter what. ACLS doesn't just clear text, it also clears sprite/bg and graphical data, which is why people love it so much. You should put it at the beginning of all your programs, as previously mentioned by SomeThing. It makes sure you don't have bits of data left over from last program. OPTION STRICT forces you to do lots of

    Yeahs0
    Played
  • extra work for a beginner, but yes, it does help you find some bugs faster. And yes, please do not ask for minecraft, fnaf, or undertale. Do not ask "key please" in posts that are obviously jokes. Please, stay professional. key please

    Yeahs1
    Played
  • (Btw, if some of my code is incorrect and/or has simpler alternatives, I am very sorry; I don't have this game yet. When I do get it, I plan on making a program that teaches programming in the simplest way possible. No promises, though).

    Yeahs0

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-EJ9-9E2P-X8K-TA7E

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: