Re: Eu vs perl, strings
On Tue, 7 Dec 1999 16:54:28 -0600, Kat <KSMiTH at PELL.NET> wrote:
>
>----- Original Message -----
>From: Cuny, David at DSS <David.Cuny at DSS.CA.GOV>
>To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
>Sent: Tuesday, December 07, 1999 3:19 PM
>Subject: Re: Eu vs perl
>
>
>And the annoying crashes caused by out-of-bounds testing of sequences is ,
>well, annoying. I fear that adding these functions as include files will
>result in slowing down Eu to the point it is unusable, so imho they should
>be part of the core. Also,, printing things in Eu isn't all that easy, i
>have lines like this fairly often:
>
>puts(1,datastr1[3] & " " & sprintf("%d", charvalues[datastr1[3] - 64] ) &
>"\n")
>
Here is a better way of expressing that:
printf(1,"%s %d\n",{datastr1[3],charvalues[datastr[3] -64})
With printf and sprintf you can tag multiple values into the statement if
you use a sequence.
|
Not Categorized, Please Help
|
|