Hiya All
I have a counter the goes from 0 to 15 and I want to write a printf statement the print
r plus my number from the counter. For example if my counter is equal 12 then I want printf to print r12. I am using
printf("r%d",$c);
it works ok if the number is >= 10 but if the number is < 10 then it prints r1, r2, etc. I want printf to add an extra zero for me so I can get r01, r02, r03 etc. I am sure it possible but it needs a quru to do it not me. Can any one help
OOzy