Re: String type (was: if statement not working)

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

On Fri, 22 Mar 2002 18:12:24 +0000, bensler at mail.com wrote:

>
>Strings should be secondarily supported. Not in the core of the 
>langauge, but as an extension of the existing language.
>
I wholeheartedly agree. I can see a set of routines which encode
strings so that they hold 4 "characters" in a single sequence entry
(0.127), a variant which does a max of 3 (0..255) and a third more
complex variant which holds 3 or 4 bytes (if first is 127 then skip;
this entry only hold 3 bytes).

Take the last (and hardest) case; you suddenly *cannot* easily hard
code numbers in sequence slices.

This is an opportunity, not a stumbling block. (?Encapsulation?)

My point is this:

Code this (-or a much simpler doobrie-) in standard Eu; cover all
expected cases;

Post your best effort, expect it to be shot down/refined.

Figure the ones you need speed/easy syntax on, *THEN* ask rob to cater
for them in the core language.

Rob is just one man. We can help him with a concerted effort. (if it
was easy, he'd have done it already). We CANNOT help him with a
concerted winge.

Chris's "splice" function was a good start, let's work from there.

There are alot of good ideas out there. Ask yourself why you need Rob
to code them in C, in the heart of Euphoria, when you apparently
cannot code them for yourself.

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu