Re: RTFM

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

Irv Mullins writes:

> One thing has me puzzled :
> Euphoria trace lets us check a variable that's
> not shown on the screen by typing "? var"  (if var = 23,
> then we'll see "var=23" pop up at the bottom of the screen.
> Why can't we type "? seq[2]" to see the contents of the
> second bit of seq?

If you just want to be able to subscript with a constant,
like 2, then it wouldn't be too hard to add, but I think
ideally you'd like to be able to type in any kind of complicated
expression and see the result. That would be very difficult
to do, given the way Euphoria is structured, so I've never
attempted it, and so far only a few people have asked for it.

I'll consider adding simple subscripting, and maybe slicing
with constants.

Regarding structures, name spaces etc. - I'm reading
all the ideas that people are putting forward.
I don't have much that I want to add to the discussion right
now. I think everyone can see that language
design is not a simple process. There are many
difficult trade-offs to consider. If I did decide to make a
major change to the core language, I would certainly
discuss it here before going ahead.

Regards,
     Rob Craig
     Rapid Deployment Software

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

Search



Quick Links

User menu

Not signed in.

Misc Menu