I'm going to reuse a previous comment of mine...
SmileBASIC, unlike JS, C++, etc, is NOT an object-oriented programming language. It is a procedural, structured programming language. This means that there is no such thing as a class, an object, or even a struct. There are workarounds, but you should try to get used to not having them.