home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
Programy
/
ARCADEA
/
DEMO30
/
MACROS.Z
/
multsave.d3m
< prev
next >
Wrap
Text File
|
1997-04-15
|
485b
|
27 lines
'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