Lines and Keywords A program consists of lines of text. The order of the lines in the program is the order in which the lines are read by the computer. The lines in the program contain statements which tell the computer what to do. Each statement begins with a keyword . It states that what follows on the same line will be ignored by the computer.
Remarks are useful for writing titles and subheadings in a program.
Numerical constants may also be written with a scale factor, which is a power of 10. They may be used for printing messages during the running of a program. Variables A variable is the name of a location in the computer memory where a number or a string is stored. In the example above X, Y, and Dist are numerical variables. A numerical variable consists of one or more letters, and may also contain digits.