Re: Why do People Use Euphoria?
- Posted by Icy_Viking Jul 02, 2022
- 2390 views
SDPringle said...
Do you thnk that structs should be sequences with names rather than numbers for indexing?
I can imagine that we could get some surprises with the struct branch. Take the tm struct for example. Here each member is an integer, or in C terms, ints. Can we have a user defined type combined with this struct?
I'd rather structs work similar to how they work in C. Something along the lines of
struct PLAYER integer health atom x,y end struct PLAYER new_player new_player.health = 100
I think structs in 4.2 are going to work something similar to that, give or take.