Oh, shoot. I meant to add that I'm using RB 2006 r2.
Thanks.
----- Original Message -----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Wednesday, April 12, 2006 3:22 PM
Subject: Array as class property?
Folks,
I really must be missing the obvious (sigh). I have a class called
Product. I would like to have a class property that is a string array. I
thought I could create a property like this:
Vendors() As String
...or maybe...
Vendors(0) As String
The editor lets me define it that way, but when I try to access the
property, I get the error, "This method or property does not exist."
In my code, I'm just trying to do this: p.Vendors(cnt) = "some value"
I did check the archives and found an entry describing an array of arrays
as property, but that is not what I'm up against. My intentions are far
simpler. :-)
Thanks in advance for helping me in my blindness.
== Ross ==
_______________________________________________
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>
_______________________________________________
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>