Need help with numeric padding in image sequences

Blitz3D Forums/Blitz3D Beginners Area/Need help with numeric padding in image sequences

Hey TomToad,

I actually tried a similar technique but ran into problems when the sequence hits 10. Here's the code I used adapted from your code (frames 10 - 14 load correctly using this method):
Dim tex (14)
For t = 1 To 14
tex(t) = LoadTexture ("images\run_" + Right ("0" + t, 2) + ".png",1+2)
Next


I assume I may need a function to get rid of the "0" once the array reaches 10. Any ideas?