home *** CD-ROM | disk | FTP | other *** search
- 'Multsave.d3m -- demonstrates string concatenation and saving files
- 'The macro allows you to open a file of your choice. The macro then
- 'saves 10 copies of the file as "test1.dc" through "test10.dc"
-
- Message "Pick a file to be saved 10 times"
- >open
- {
- }
-
- if sys(9) < 1 then
- message "This drawing file is empty! Multsave terminated."
- end
- end if
-
- Precision 0
-
-
- for i = 1 to 10
- t$=i
- name$ = "*\test"+t$+".dc"
- >SaveAs
- {
- <Filename [name$]
- }
- next i
-
-