*Kobold Drive Variables**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.*--Set Drive-----------\/--------------------------------------------------*--Syntax--------------\/--|*--set_drive (0...9) = drive*--example #1----------\/--|set_drive*set_drive 0 = c              *assign the number 0 to drive C*src_select %0:\              *select drive C:\*--Select Drive--------\/--------------------------------------------------*--Syntax--------------\/--|*--select_drive (0...9) "box_title"[,label]*--example #1----------\/--|*select_drive 0 "Select drive...",1    *open drive selection dialog*src_select %0:\                       *if OK is selected, else go to 1*1:*--Branch On Drive-----\/--------------------------------------------------*--Syntax--------------\/--|*--branch_on_drive (0...9) (drive:label,drive:label)*--example #1----------\/--|*5:*set_drive 0 = c                            *Assign drive variable.*select_drive 0 "Select source partition"   *Open the drive selection box.*branch_on_drive 0 (c:10,d:20,e:30)         *If you pick drive c from the*10:                                        *drive selection box, you'll*alert "!You've branched to@c:10|!Ok",200   *branch to label 10. If you*20:                                        *select drive d from the drive*alert "!You've branched to@d:20|!Ok",200   *selection box, you go to label*30:                                        *20, etc. The first 3 alerts*alert "!You've branched to@e:30|!Ok",200   *all go to label 200. The last*200:                                       *alert lets you go to either*alert "!Go Again..?|!Ok|Cancel",5,300      *label 5 or label 300.*300:*--Next Drive----------\/--------------------------------------------------*--Syntax--------------\/--|*--next_drive (0...9), label*--example #1----------\/--|*set_drive 0 = c                        *start at c:*set_drive 1 = c                        *dummy variable for alert box*50:*alert "!Current drive %1|!Next",205*205:*next_drive 1,50                        *Loop over all existing drives*alert "*That's All Folks |!Bye",305*305:*--|that's it! cjh.3/13/98