Need help with numeric padding in image sequences

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

that's what the Right() does. It takes the rightmost two characters of the string. So from 0 - 9, you get 00 - 09 and Right() simply takes those two characters. When you have 10-14, you get 010 - 014 and Right() will take the last two characters, ignoring the leading 0, so you're back to 10-14
Run this program to see it in action
For t = 1 To 14
	Print "run_"+Right("0"+t,2)+".png"
Next
WaitKey()