On Oct 27, 2003, at 12:21 PM, Joseph J. Strout wrote:
At 12:11 PM -0500 10/27/03, Mark Guertin wrote:
I'm still a little bit perplexed that there is not more advanced
array handling for RB :( I'm very used to being able to use simple
mixed arrays with definable keys to store my (usually small) datasets
for manipulation, like ( from php):
foo(0)=array{
"rowid" => "1",
"name" => "Mark",
"occupation" => "geek"
}
That's not an array, that's a "map" or "dictionary." It's a set of
key/value pairs. This is what the Dictionary class is for.
Thanks Joe ... is it possible to have multiple ones tho? As in
something like :
foo(0)=array{"rowid" => "1","name" => "Mark", "occupation" => "geek"}
foo(1)=array{"rowid" => "2","name" => "Joe", "occupation" => "RB Guy"}
This is the functionality that I'm crying for ;) I guess this means
that I'm asking if it's possible to store references to a dictionary
within an array or some other form of control I can step through
easily?
Mark
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|