home *** CD-ROM | disk | FTP | other *** search
- :: ZMENU system ZCOMM Menus
- :: Function: this script saves the current values stored in string
- :: variables fa1-fa12, fc1-fc12, fs1-fs12
- :: Input: set s0 to filename to use to save variables
- :: Output: Writes file named
- zmnusave:
- if !%s0 echo " zmnusave.t ERROR: string s0 null on input ";sleep 30;return
- kill;: empty capture buffer
- sets s1 %dircx;sets dircx %lib
- del %s0
- >%s0
- echof "fa1 %fa1"
- echof "fa2 %fa2"
- echof "fa3 %fa3"
- echof "fa4 %fa4"
- echof "fa5 %fa5"
- echof "fa6 %fa6"
- echof "fa7 %fa7"
- echof "fa8 %fa8"
- echof "fa9 %fa9"
- echof "fa10 %fa10"
- echof "fa11 %fa11"
- echof "fa12 %fa12"
- echof "fc1 %fc1"
- echof "fc2 %fc2"
- echof "fc3 %fc3"
- echof "fc4 %fc4"
- echof "fc5 %fc5"
- echof "fc6 %fc6"
- echof "fc7 %fc7"
- echof "fc8 %fc8"
- echof "fc9 %fc9"
- echof "fc10 %fc10"
- echof "fc11 %fc11"
- echof "fc12 %fc12"
- echof "fs1 %fs1"
- echof "fs2 %fs2"
- echof "fs3 %fs3"
- echof "fs4 %fs4"
- echof "fs5 %fs5"
- echof "fs6 %fs6"
- echof "fs7 %fs7"
- echof "fs8 %fs8"
- echof "fs9 %fs9"
- echof "fs10 %fs10"
- echof "fs11 %fs11"
- echof "fs12 %fs12"
- close
- sets dircx %s1
- return