Number = 7
print Number

Total = 5 + 4 + 7
Number1 = 5
Number2 = 4
Number3 = 7
Total = Number1 + Number2 + Number3
print "The total is "; Total
Name$ = "Rob Sentis"
print "Welcome to the program "; Name$

print "Welcome to the program "; Name$; "."
x = 2002
Number = 17
Print "You were born in "; x - Number
CurrentYear = 2002
Age = 17
Print "You were born in "; CurrentYear - Age
| Variable Name Requirements |
| A variable name must begin with a letter (a to z or A to Z). |
| The remaining characters of the variable name can be letters, numbers, or periods. |
| Variable names are case sensitive which means that Number, number, NUMBER, and NuMbEr are all different variables. |
| Variable names cannot be a Liberty BASIC reserved word. (i.e. a variable name cannot be PRINT etc.) |
| String variables must have a dollar sign ($) at the end of the name. |