On May 14, 2006, at 2:19 PM, Ronald Vogelaar wrote:
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".
Which it can. Open a module, add a new structure with the fields
desired. Then in your code, type:
dim foo as MyStructure.
There you go :)
I suppose a Structure makes use of a MemoryBlock internally?
No, it uses a structure internally. Structures are a new datatype that
are passed byvalue, similar to structures in every other language.
HTH,
Jon
_______________________________________________
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>