Program Structure

Since I come from a C programming background I tend to structure my programs. Ebasic itself does not enforce programming structure so you can write in a method which feels most confortable for you.

The structure I like to use is:

The only Ebasic requirement is that any required subroutine declarations, constants, and variables(under certain conditions) be declared before they are used.

The structure you choose will most likely be different than mine but feel free to follow mine if you like.

The important thing is that you form your personal structure and be consistent in the way you build your programs.

You should decide on what structure you will be using, refine it, and stick to it.

Next Section