On May 14, 2006, at 3:11 PM, Ronald Vogelaar wrote:

Hi Jon,

Yes I see that, but that doesn't explain why its use should be limited to modules.

The use isn't limited to modules. The declarations of them are, currently. However, this is a limit that will most likely be lifted in the future.

Unless I'd create an array of Structures (is that even possible?)

Yes, it's possible, as it is with any other REALbasic data type.

I likely won't be able to use it for multiuser projects. Wait, I wouldn't use an array either. I'd create a separate Structure class and basically create what I hoped RS would do for RB2006.

Nah, I wouldn't really do that. Too much work, and chances are my implementation would be flawed, so it's too risky to attempt that route in projects that could use the power of Structures. I'd most likely get by without using Structures at all. ;-)

That's what most people will do -- they're mainly useful for declares. In almost all other cases, classes will do the job just fine, more quickly, and with less bugs (because of the inherent byref/byval difference of structures and classes).

HTH,
Jon

--
Jonathan Johnson
REAL Software, Inc.

_______________________________________________
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>

Reply via email to