Hi Mauro,
Paulo and Murali have already answered your querry. Here is a slight enhancement, so that the gif files will be listed (eg. with "ls" command) in proper order. This will be helpfull, in case you are inputing these gif files to some other tool to make animations. Pleaes let me know if you have any questions. Regards, Jaison !------------example starts here--------------------- \ cancel mode verify ! ! Description : Example for naming files in repeat loop, with proper indexing. ! ! Jan/09/2007 ! !-------------------------------------------------------------------------- set data coads_climatology REPEAT/L=1:12 ( ;\ fill/line/key/lev=(0,31,1) sst ;\ go land ;\ let fid = IF `L` LT 10 THEN "0`l`" ELSE "`L`" ;\ say " Creating sst`fid`.gif" ;\ FRAME/file=sst`fid`.gif ;\ ) !------------example ends here--------------------- On Wed, 09 Jan 2008 15:51:03 +0300, Murali Krishna wrote > Dear Mauro, > > Just change your ferret statement as follows > > repeat/l=1:72 (fill LHF; contour/overlay xland; frame/file="test`l`.gif") > > previously your repeat statement is over writing the same .gif file. Now it works properly. > Correct me if i am wrong. > > With Regards, > Murali > > On 09/01/2008, マウ瘢雹ロ <suga.m.aa@xxxxxxxxxxxxxx > wrote: Dear Ferret users, > > -- > Murali Krishna S > Coastal & Hydraulic Engineer > COWI A/S, > Doha - Qatar > P.O.Box 23800 > Ph: +974 5357260 > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |