my $a=0x15; for (my $i = 1; $i <= 100; $i++) { $a+=0x0C; print "$i: $a\n"; } [download]
In reply to printing hexadecimal without printf by tpais