What are the unique features of the Small Basic language?


Originally written by the creator of Small Basic, Vijaye Raji…

Here are the unique features of the Small Basic language:

Imperative

Just like the early variants of BASIC, Small Basic is imperative and doesn’t use or expose beginners to concepts like scopes, types, object orientation,
etc.

Size

The Small Basic language consists of just 14 keywords.

Type System

There actually isn’t one. You can create string and numeric constants and assign them to variables. Operations performed on these variables will be interpreted according to the content.

Variables

All variables are global and are always initialized. They can be used before they’re assigned.

Events

You can create a sub-routine and assign it to an event. This will wire the it up to an the event.

Libraries

The libraries provide static “Objects” that group operations, properties and events. New libraries can be created using other .Net Languages and added to the Small Basic runtime.

Comments (4)

  1. s.mcknight says:

    Informative and informational…Thank You.

  2. You're welcome! And thanks to Vijaye for the original content (not to mention for Small Basic itself). =^)

  3. Jibba Jabba says:

    Yes, thanks. Need to know stuff. Also much thanks to Vijaye, Ed, litdev and SB community.

    SB is what I began learning programing with, 11 months ago now. I still choose to use native SB only, as an opportunity to master important skills that i need to write good code.

    Because it's simplified I have a good opportunity to learn and practice more difficult skills e.g. software build, structure and resource efficient tips I pick up on the forum.

    I now build my own buttons, animations, menu bars and use multi-threading to run stuff in the background.

    Great language to get the hang of game loops.

    Simplified and powerful.

  4. UPDATE: This original list was built out as a much more robust list on TechNet Wiki: social.technet.microsoft.com/…/14114.the-unique-features-of-small-basic.aspx