Thread:SquareFingers/@comment-25827645-20141212102114/@comment-5334617-20141213152646

Minor tpyo: The line  should be.

In choosing between  and , a more experienced programmer would choose the latter, especially where   is not guaranteed to be an integer type (which of course it cannot be in SmileBasic V2, which has no integer type).

(I have also seen a game where, when  is 0, the player is alive, but doesn't have the strength to move.  They have to wait until either they regenerate enough energy to move, or a monster comes around to finish them off.  It added a tense, exciting 'race' between the two possible outcomes in some games!)

I wouldn't include the sentence "An interesting note: == TRUE is optional; ...", at least, not without indicating that it is optional for that particular instance (and some others), but not all others. It's too easy to infer that the commands  and   behave the same. They do not, unless  is either   or.

A label cannot "have any name you want": for instance, the label cannot include a space, or the  character, or any graphics or Japanese characters, or have more than 16 characters.