Re: AutoIt vs Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
Icy_Viking said...

I was demonstrating that perhaps in the next version of Euphoria or Phix, that a easier way to declare and use structs could be possible.

To my mind your proposal was quite horrific - a really feeble watered-down version of what you would actually need.
If you want to do C structs, do C structs, with unions, 170+ builtin types (really - eg see cffi.e), nested substructures, etc.
Otherwise you are just setting yourself up for an unending deluge of problems that sort of naive attempt will inevitably bring.

If your argument is along the lines of that instead of

    set_struct_field(idRect,pRect,"x",10) 

that

    Rect.x=10 

will somehow solve world hunger, I'm not impressed.

Sorry to be so blunt. <mutter>not really</mutter> smile

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu