Re: OK what does ` mean - seriously seems to be not documented.

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

Bill

What programming language did you learn before Euphoria? Each language has a mindset.

Euphoria has no string data-type. But, Euphoria has the flexibility to work strings as if there were a string data-type. The as if part is interesting; everything works like a sequence without regard for data values.

If you "think string data-type" (lots of language examples here):

word = "dogs" + "bone" 
   --> "dogsbone" 

But, Euphoria is about sequences!

word = "dogs" & "bone" 
   --> "dogsbone" 

but

word = "dogs" + "bone" 
  --> {198,222,213,216} 

The "get it" part of Euphoria is seeing the flexibility of having everything as an object.

The lack of a string data-type has a few limitations. For example 1:1 indexing of a Unicode string is not always simple.

What is nonsense x = 'a' + 'b' in some languages is flexibility in Euphoria.

I am beginning to appreciate some of the "irritation" (I do no want to call you confused.) you are having with the Euphoria way of doing things. Coming up with a tutorial to clarify things will take some time...

To end with humor: Stop using Windows.

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu