| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Lessons for VB users |
| From: | Will Leshner <will dot leshner at gmail dot com> |
| Date: | Wed, 30 Mar 2005 19:31:19 -0800 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=H2YWgMVknIzTSFt+Q5jYGUpSn0C5TxS+AY9Qla0d5DRbmeGimDvBTlmmSBsrKm/Cz6PPQm+2svp+wQ+MejEWbTcuEQCG1iq2EKB7ygvg4WoCD1yrjV0PkRO03uup/07tcQAnBRsWiGici2vaMURJ/+LGD5vuHq1QLy8qfzHLjAI= |
| References: | <ee222e3e0051b41e915448c9dbd993ba at satx dot rr dot com> |
On Wed, 30 Mar 2005 21:18:54 -0600, William Squires <wsquires at satx dot rr dot com> wrote: > * To create an array with no initial size, Dim it for a size of -1. Or, don't provide a bounds at all: dim a() as Integer > * Arrays passed into methods (a fancy word for a function or sub) are > ByRef by default; any contents of the array can be modified by the > called method, so watch out! Actually, technically, arrays are passed ByVal by default. What's being passed, though, is a *reference* to the array. That's true of any object. If you use the ByRef keyword, then you are passing the reference by-reference. -- REALbasic database options: http://sqlabs.net REALbasic news and tips: http://rbgazette.com KidzMail & KidzLog: http://haranbanjo.com _______________________________________________ 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> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Favorites menu again, Navdeep Bains |
|---|---|
| Next by Date: | Re: Loading 300000 lines into a database/regex database searching, Will Leshner |
| Previous by Thread: | Lessons for VB users, William Squires |
| Next by Thread: | Re: Lessons for VB users, Joseph J. Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |