プレイ日記
Lukas dogcutie
SmileBASIC tip 1: Use GOSUB then @(Text) to jump from one section of code to the label. If you don't understand, Just look at the example. If you type it in then run it, it will go to the label then go to the other label, so it keeps repeating the code, making it print the same words every time.
6そうだね
プレイ済み
返信[1]
親投稿
mystman12 mystman12
Just make sure you use RETURN to return to the GOSUB for every GOSUB you use, otherwise you may end up with a stack overflow error. If you don't need to use RETURN, you must use GOTO instead.
0そうだね
プレイ済み
返信[2]
親投稿
Aaron Krondelo
So return automatically goes to the previous @label? Wheras with GOTO you need to type in the label, correct?
0そうだね
プレイ済み