Coding the Top Level of a Program
The Top Level! Go Full Screen to see in greater detail?
|
Introducing Sub Routines
- Your VB Express programs will be split into small sections of code.
- The top level of your program will be used to control how and when the small sections are carried out in the program.
- The top level of all your programs will contain relatively few lines of code, but this is the area where all variables to be used in a program are declared and where the power and control in your programs lie.
- If the top level is not coded correctly, the program isn't going to work.
Saving Projects! Go Full Screen to see in greater detail?
|
Saving Program Projects
When you create a program project, Visual Basic automatically creates a number of separate files.
You don't have to worry about these files as long as they don't get separated.
It is therefore very important that you know how to save your program projects. And that save your work regularly.
Watch the movie to find out how to how to save program projects..
What you have to do!
- Watch which introduces coding and the Top Level of the program..
- Watch which sows you how to SAVE your project.
- Tick Off Exercise 5 in your Progress Grids.
Mark off Exercise 5 in your progress grids.
What you should now be able to do!
-
Understand the use of variables in a program
-
Understand the purpose of the top level in controlling a program
-
Name a variable sensibly and define as integer or decimal as required
-
Create the steps to include in the top level of a program
-
Use comments in programs
-
Save a program file