realbasic-nug
[Top] [All Lists]

Re: method parameter as array

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: method parameter as array
From: Joe Strout <joe@inspiringapps.com>
Date: Thu, 29 Jan 2009 13:12:56 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <4982092F.7060407@earthlink.net>
Organization: Inspiring Applications, Inc.
References: <49820316.6090503@earthlink.net> <89fe53800901291133i3e8f2278t2c91ca5e30a0e077@mail.gmail.com> <49820677.5050605@earthlink.net> <4982092F.7060407@earthlink.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
Tony Alfrey wrote:

Where does the array get dimensioned, in other words, at what point does memory get allocated? I suppose maybe it is allocated when the array is dimensioned in the code that calls the method?

Exactly -- it gets allocated in the "Dim" statement (and possibly re-allocated in any "Redim" statement).

And if this is the case, it sounds like that the array must be re-dimensioned prior to calling the method?

Why?

Best,
- Joe

--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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