home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-02-26 | 1016 b | 36 lines |
- '=====================
- 'EXAMPLE PROGRAM THREE
- '=====================
-
- 'Variables are numbers assigned to letters that can change value (vary)
- '-----------------------------------------------------------------------
-
- Rem turn the text cursor off, remove the mouse pointer,set text background
- Rem to blue and clear the screen to blue, see EXAMPLE1 and EXAMPLE2
- '--------------------------------------------------------------------------
- Curs Off : Hide : Paper 0 : Cls 0
-
-
- Rem the variable F1 is given its starting value change this to any number.
- '--------------------------------------------------------------------------
- F1=200
-
-
- Rem F1 is now INCremented by 1.
- '------------------------------
- Inc F1
-
-
- Rem five is now subtracted from F1, change this as well.
- '-------------------------------------------------------
- F1=F1-5
-
-
- Rem We now PRINT the value of F1.
- '--------------------------------
- Print F1
-
-
- Rem WAIT for the user to press a KEY
- '-----------------------------------
- Wait Key : Edit