realbasic-betas.mbox
[Top] [All Lists]

Re: ByRef property passing not working

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: ByRef property passing not working
From: Mars Saxman <mars at realsoftware dot com>
Date: Thu, 30 Jan 2003 08:54:37 -0800
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>
.


<Prev in Thread] Current Thread [Next in Thread>