A key difference between Algebra and Small Basic
In algebra, x = 5x–8 is an equation whose solution is x=2 (5 times 2 gives you 10, and 10 minus 8 is 2).
But in Small Basic, this is an assignment statement that evaluates the expression to the right of the equals sign (5*x–8) using the current value of x, then assigns the resulting number back to x.
The old value of x is lost!
But now that you know what not to do in Small Basic, don’t treat your math homework like Small Basic either! (Or you'll be systematically decrementing your GPA.)
Head to http://blogs.msdn.com/SmallBasic to download it and learn all about it!
Small and Basically yours,
- Ninja Ed & Majed Marji