Re: Structures in 4.0?
- Posted by jimcbrown (admin) Oct 02, 2009
- 1342 views
ghaberek said...
Is there an easy (read: native) way to manage structures in memory in Euphoria 4.0? Or am I left to using peek/poke and a slew of constants plus the memory address? Note: I do not want to use any 3rd party libraries like tk_mem.e. I'd much prefer to use the included Euphoria libraries.
-Greg
I assume you are talking about C structs. 4.0 does have some better data structure libraries (e.g. maps, sets, stacks) in the stdlib, but they aren't compatible.
4.0 does not have a C struct library as part of the stdlib. It improves the options for handling raw memory addresses but you still need to peek/poke manually.