Hi Mars,
Hmmyes, I meant 'in code', but you got my meaning.
I guess I was misled a bit by a line from the REALbasic User's guide: "A
structure can provide a convenient alternative to the MemoryBlock".
I suppose a Structure makes use of a MemoryBlock internally? In any case,
it's not the Struct I was hoping that RB2006 would have.
Ronald Vogelaar
--
http://www.rovosoft.com
On May 14, 2006, at 11:23 AM, Ronald Vogelaar wrote:
Playing around a bit with RB2006, I find that a structure cannot be
created dynamically... Same for Enum. Is this indeed not possible? If
not, this would greatly limit its usability.
What do you mean by "dynamically"? If you mean that you cannot allocate
instances with the New operator, that's part of the design: structures
and enums are value types (like integers and booleans), not reference
types (like objects and arrays).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>