{ } /* */ ; ; REM
2: The end. statement signifies the
end of a procedure end of the program beginning of a procedure beginning of the program
3: The write statement sets the cursor
at the end of the line at the beginning of the next line at the end of the outputted text at the beginning of the current line
4: Using the writeln statement, the cursor is positioned at
5: When printing text using write or writeln, the text is enclosed using
backslashes curly braces double quotes single quotes
6: To print a single quote using write or writeln,
use a double quote use two double quotes preceed it with a backslash preceed it with a single quote
7: Each program statement is terminated with a
newline a semi-colon a full-stop a comma
8: If the program is required to input data from the keyboard, the first line of the program reads
program NAME ( output ); program NAME ( input ); program ( input, output ) NAME; program NAME ( input )
9: If the program is required to input data from the keyboard, and also output data to the console screen, the first line of the program reads
program NAME ( output ); program NAME ( input ); program ( input, output ) NAME; program NAME ( input, output );
To submit your comments, press this button:
To clear the form, press this button: