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

Re: REALbasic 5a6 ... passing of arrays

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: REALbasic 5a6 ... passing of arrays
From: Kevin Ballard <kevin at sb dot org>
Date: Sat, 30 Nov 2002 01:53:10 -0500
Right. Arrays are passed as object references, and ByRef would imply that you want to pass a reference to a reference, which doesn't work. The old compiler allowed it, the new one doesn't.

On Friday, November 29, 2002, at 09:41  PM, Jarvis Badgley wrote:

On Friday, November 29, 2002, at 06:08 PM, Aaron Bratcher wrote:

How does one pass arrays to a function in REALbasic 5? My existing code throws up a type mismatch error.

I was getting this too until I took out my ByRef statements. Apparently they aren't necessary.

--
Kevin Ballard
kevin at sb dot org
http://www.tildesoft.com
Email from Korea or China must go to <kevin dot nb at sb dot org>


---
A searchable archive of this list is available at:
<http://dbserver.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>