1. Re: Eu vs perl, strings

Kat,

puts(1,datastr1[3] & "   " & sprintf("%d", charvalues[datastr1[3] - 64] ) &
"\n")

I think this can be rewritten as:

printf(1, "%s   %d\n", {datastr1[3], charvalues[datastr1[3]-64]})

or you can put in 1 or 2 extra lines to make things more clear and readable.
without reducing the speed at which it executes.

Ad

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu