Re: Quickie

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

Pete Lomax wrote:
> 
> What's this in 2.4-speak?:
> 
> }}}
<eucode>
>             msg[$] = msg[$][1..$-1]
> </eucode>
{{{

> 
> Yeah/no, not being funny, just answer the question please. blink
> - as in how to code most readable w/o $.
> my -ve idx: msg[-1] = msg[-1][1..-2] is no easier to back-port.
> 
> Regards,
> Pete
> 
> 

Hi there,

Just one technique...

--msg[$]=msg[$][1..$-1]

integer void

void=length(msg)
msg[void]=msg[void][1..length(msg[void])-1]



Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

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

Search



Quick Links

User menu

Not signed in.

Misc Menu