06-29-2004 10:48 AM
06-29-2004 11:17 AM
06-29-2004 11:18 AM
06-29-2004 11:36 AM
06-29-2004 11:56 AM
04-07-2008 11:48 AM - edited 04-07-2008 11:48 AM
04-07-2008 11:52 AM
04-07-2008 12:08 PM
04-07-2008 04:01 PM
04-07-2008 04:07 PM
i=19 is only true for the last iteration of the FOR loop. In the first iteration, i=0, second iteration i=1, etc. giving you a new value for each iteration that you can use to construct a unique file name with every iteration.
Piscesking wrote:
Let N=20 (number of loops to be executed), then i=19,Now either I connect 'i' or 'N' with the example provided earlier, resultant is only one filename corresponding to respective number given.