Re: wishlist : structures

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

Al Getz <xaxo at AOL.COM> wrote:

> the only drawback is if you need WIDTH and HEIGHT for another struc,
> you might have to super class all the constants:
>
>   sequence my
>   constant my_WIDTH=1, my_HEIGHT=2
>   my={0,0}
>   my[my_WIDTH]=145
>   my[my_HEIGHT]=233

That would work also, but it slows down programming, because you have to
type those long words, and search them up if you don't rememeber them. So I
rather write numbers and then I have to look in my comments for where
something is saved in sequence (my artificial structures). Without those
comments I would be lost!
Look how simple is in Visual Basic: you type   "my."  and then it shows you
listbox from where you can select which member of structure you want. That's
super duper fast!
We will never have this luxury in Euphoria until we have structures.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu