home *** CD-ROM | disk | FTP | other *** search
- /* FinalCalc script to scan though the graphs list and
- saves graphs to IFF files in the RAM: disk. */
-
- options results
- shutdown = 0
- count = 0
-
- do until shutdown
- if count = 0 then graph first
- else graph next
-
- graphname = result;
-
- if graphname='' then
- shutdown = 1
- else do
- count = count+1
- filename = "ram:graph"count".iff"
- graph '"'graphname'"' save '"'filename'"'
- end
- end
-
- if count > 0 then do
- text = "Saved" count "graphs."
- request '"'text'"'
- end
- else
- request '"No graphs found."'
-
- exit
-