home *** CD-ROM | disk | FTP | other *** search
- *Kobold Branch Commands Demo
- *
- *Anything appearing after an asterisk (on the same line) is ignored.
- *Each of the "EXAMPLES" below can be activated and run by removing the
- *first asterisk on the left side of each example line and then selecting
- *"Execute Job" from the "Kobold" menu (and selecting this file :-)
- *The drives listed below must exist in order for the demo to work!
- *
- *These help files are not meant to be a substitute for the user manual,
- *but merely demonstrations of available commands. Please refer to your
- *Owners Manual for detailed explanations.
-
- *--Goto ---------------\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--goto label
-
- *--example #1----------\/--|
-
- *goto 1 *skip to the label "1".
- *src_select a:\ *src_select command, which will be ignored.
- *1: *the label.
- *alert "-Hello |!Bye",2 *an alert box.
- *2: *the label "2"
-
-
- *--Gosub---------------\/--------------------------------------------------
-
- *--Syntax--------------\/--|
-
- *--gosub label
-
- *--example #1----------\/--|gosub return
-
- *gosub 3 *Jump to label "3"
- *alert "!Welcome back !|!Hi",5 *"return" command below returns you here,
- *then you're sent to "label 5".
- *3: *"label" 3
- *alert "-Let's go back !|!Ok",4 *the message you get when you "gosub 3"
- *4: *the label 4 (alerts have to go SOMEwhere)
- *return *return to the line below "gosub 3"
- *5: *"label 5"
- *alert "*See ya later !|!Bye",6 *the message after "label 5"
- *6: *label 6
-
-
- *--|that's it! cjh.3/13/98
-