matt at tidbits dot com wrote:
> Define an integer property of the current object (say, the window) and a
> method that takes a byref integer. If you try to pass self.theProperty, the
> compiler complains.
This is OK; the dot operator makes it an expression, and you can't pass an
expression ByRef no matter where the value came from.
> If you pass theProperty, the compiler does not complain
> but the app crashes.
Well, now that's certainly a problem...
Mars Saxman
REAL Software
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>
Unsubscribe:
<mailto:realbasic-betas-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-betas-digest at lists dot realsoftware dot com>
.
|