LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

SmileBASIC Simplification Protocol

Root / Submissions / [.]

chemicalexCreated:
Download:DE23EVQE
Version:0.2Size:
A precompiler to make SmileBASIC easier to use. Still in beta. You can create sort of more advanced programs that do more stuff, for example, the foreach loop exists.

Instructions:

Very sorry about the key not being here, it'll be soon.

Notes:

Not released yet. LIMITATIONS: -You cannot put 2 FOREACH loops inside each other.

I don't think
CLS
DEF test[]
return "ChemicalHex"
end

print"My name is "...test[]
Is valid code in smilebasic. change .. to + and [] to ()

Replying to:12Me21
I don't think
CLS
DEF test[]
return "ChemicalHex"
end

print"My name is "...test[]
Is valid code in smilebasic. change .. to + and [] to ()
Oh, sorry, the compiler WOULD convert the brackets to parens. I'll edit the description.

what does
}loop
do? does it go to the beginning of the program?

Replying to:12Me21
what does
}loop
do? does it go to the beginning of the program?
}loopname is my custom loop sequence for CHEM_L. I did this because CHEM_L is lowercase sensitive and curvy brackets are in the caps-unlock. It makes it a bit easier. Ins and outs, } is just @.

make sure you don't change stuff inside strings. when scanning through each line, you should use a variable to keep track of whether you're in a string or not.

Replying to:12Me21
make sure you don't change stuff inside strings. when scanning through each line, you should use a variable to keep track of whether you're in a string or not.
Did you not see how I did that? No? I already did that.

Ignore all below comments.