harmonv
Oct 4, 2007
- "Added info about variable types, names and a summary table."
Lesson Map | Next > Numbers
Objective: Identify In the Define Variables lesson we learned Liberty BASIC has two types of variables: numbers and strings . If the last character of the variable types by their names Plan: List name is a dollar sign $ , it holds a string. If it does not have a $ on the end, it holds a number. What could be easier?
A variabletypes. Then for each type, give naming rule, show several examples. Give name can be letters and numbers but the first character must be a letter. FirstName$, FavoriteFilmNo5$, Address2$ store strings. Total, price12, and count3 hold numbers.
In these next few lessons we will be learning much more about them ... and the power they possess.
Here is a summary table of types andnames. names
Lesson Map | Next > Numbers
Types of Variables
A variable
In these next few lessons we will be learning much more about them ... and the power they possess.
Here is a summary table of types and
Lesson Map | Next > Numbers