home *** CD-ROM | disk | FTP | other *** search
- ; *****************************************************
- ; Example27.ftp
- ; =============
- ; This example shows how to use the "Message" command
- ; so that it automatically disappears after a specified
- ; amount of time!
- ; -----------------------------------------------------
- ; This example shows the use of this commands:
- ; MESSAGE
- ; if...then...else...endif
- ; GOTO <Label>
- ; -----------------------------------------------------
- ; NOTE: This example works for you!
- ; *****************************************************
-
- NumVariable i
- Let i=1
-
- Message "This message Stops after 5 Seconds" "5"
- Message "This message does not stop at all... so click the OK button"
-
- :Again
- if %%i%%=1 then
- Message "I is now %%i%%"
- Let i=i + 1
- goto Again
- else
- Message "This is the last message. I is now %%i%%"
- endif
-
-