トピック
SomeThing… DJZouk2012

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)
3そうだね
未プレイ
返信[1]
親投稿
SomeThing… DJZouk2012
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.
0そうだね
未プレイ
返信[2]
親投稿
SomeThing… DJZouk2012
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.
0そうだね
未プレイ
返信[3]
親投稿
SomeThing… DJZouk2012
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!)
0そうだね
未プレイ
返信[4]
親投稿
SomeThing… DJZouk2012
Also, COME TO MY LATEST FAVORITE COMMUNITY Japan has SmileBasic for Wii U early, but that's not really a surprise.
0そうだね
未プレイ
返信[5]
親投稿
PChicken NerdChicken
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,
0そうだね
プレイ済み
返信[6]
親投稿
PChicken NerdChicken
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
0そうだね
プレイ済み
返信[7]
親投稿
PChicken NerdChicken
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
1そうだね
プレイ済み
返信[8]
親投稿
SomeThing… DJZouk2012
(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).
0そうだね
未プレイ