Is there a way to concat multiple zeros onto a string. The result I always get is just one 0. I'm trying to pad file names.
thanks
kyler
Concat "00"
Re: Concat "00"
I solved the problem by running the concat from the other direction. building the file name from the extension t0wards the path
Re: Concat "00"
Hi Kyler,
FWIW, here is how I solved it (been wanting some way to save out an ANIMBRUSH as individual frames, so this helps me too...)
Sven
FWIW, here is how I solved it (been wanting some way to save out an ANIMBRUSH as individual frames, so this helps me too...)

Code: Select all
For Num = 1 to 30
RootName = "CAT"
Zeros = "x000000"
FileName = CONCAT(Zeros, Num)
FileName = CONCAT(FileName, ".png")
Length = LEN(FileName)
Mask = Length - 8
FileName = CUT(FileName,Mask,Length)
FileName = CONCAT(RootName, Filename)
tv_warn "FileName = " FileName
END