Re: finding file in program with created filename
On Mon, 12 Jan 2004 19:15:28 +0100, Tommy Carlier
<tommy.carlier at pandora.be> wrote:
><snip>
>> if numfiles < 10 then
>> filename = "SCR00" & numfiles end if
></snip>
>
>Shouldn't that be 'filename = "SCR00" & sprint(numfiles)'?
Good catch. I've already deleted the original posting but it also
looks like
filename=sprintf("SCR%03d",numfiles)
could replace an if <10 ... , elsif <100 ... , else ... end if set.
Regards,
Pete
|
Not Categorized, Please Help
|
|