checked it and semantically it's correct, so looked at the syntax and noticed some comments were used to block code of older smallbasic versions--and there in lies your problem.
Small Basic v0.3 updates
Quote:
Here is a list of breaking changes in v0.3. These are important because you might have to update some of your programs to run on this.
Shapes object: The GraphicsWindow has been factored out and there's now a new Shapes object. This object contains operations like AddRectangle, AddEllipse, etc. These methods used to be on GraphicsWindow and now they are no more. If your program used them, you'd have to modify your program to match the new pattern.
|
SmallBasic blog if you want to try track down the version/change that's hanging the code.
some other links you might be useful...
Small Basic API Reference
Small Basic Wiki
have fun.