Skip to content
Prev 77697 / 398502 Next

Automatic creation of file names

Walter --

P.S.  The advantage of using formatC over pasting the digits (1:1000) 
directly is that when one uses leading zeroes, as in the formatC example 
shown, the resulting filenames will sort into proper order.

...MHP


You can use paste() with something like

  formatC(number,digits=0,wid=3,flag="0")

(where number is your loop index) to generate the filenames.


on 9/22/2005 10:21 AM Leite,Walter said the following: