|
-
Oct 20th, 2002, 05:38 PM
#1
Thread Starter
Hyperactive Member
best way to store paired values:
Hi, I have a list of paired values that are to be retrieved from a database and returned by a function. There will be no set number of pairs returned.
A list of pairs may look like the following;
"http://www.myurl.com" "My homepage"
"http://www.microsofy.com" "Microsofts homepage"
What would be the best way to return this information from a function? I thought of using a 2d array but I would rather just use a collection and a structure so I can reference the collection via a key...
Recomendations welcome 
Cheers
MarkusJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|