All  -

I'm running ActivePerl 5.8.8 for MSWin32-x86-multi-thread.   I cannot get the 
Printf function to work in my code.  The Compiler does not recognize the 
function... which is normally part of the standard Perl functions.  Can you 
help resolve this issue?  I've included the code that does not work....

#!/usr/local/bin/perl

print " Starting program to print out decimal to hex chart \n";

@HexD = ('0','1','2','3','4','5,','6','7','8','9','A','B','C','D','E','F');


for ($i = 0;$i < 255;$i = $i++) {

                printf("%3S=$HexD[INT($i / 16)]$HexD[$i % 16] ", $i);
                if (($i % 8) == 7) { print"\n" }
}


Jack B. Fraser
Senior Technical Architect
1E500 C
San Ramon, California
925 824-8209

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to