Mel Scripting Issue


I want to print int $i=1,2,3,4,__to 01,02,03,01
How can i do this with mel.


What you want is the MODULO or sometimes called FRAC operator, more simply known as the percent symbol %
This takes one number, divides it by another number and spits out the remander.

    $output = ($i % 4);
    print ("0"+$output+",");

MAy all your dreams come true