Re: Eu vs perl, strings

new topic     » topic index » view thread      » older message » newer message

----- Original Message -----
From: Ad Rienks <kwibus at ZONNET.NL>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, December 07, 1999 5:38 PM
Subject: 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.

It's just as complicated, either way. Like i said, i end up trying several
versions.

Kat

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu