This program shows how to use SAY in a set of instructions to display text strings on the screen. Instructions are language statements that denote a certain action to be performed. Each statement always begins with a symbol. In the following example, the symbol is SAY. (Symbols are always translated to uppercase letters when the program is run.) Following SAY is an example of a string. A string is a series of characters surrounded by single quotes (`) or double quotes (").
/*A simple program*/
SAY `Amiga. The Computer For the Creative Mind.'
Enter the above program, and save it as REXX:Amiga.rexx . To run the program, open a Shell window and type:
Although the full path and program name is Rexx:Amiga.rexx, you do not need to type the REXX: directory name or the .rexx extension if the program has been saved in the REXX: directory.
You should see the following text in your Shell window:
Amiga. The Computer for the Creative Mind.