|
-
May 4th, 2004, 01:38 PM
#1
Thread Starter
Fanatic Member
Md Array
Hey all, having a mental block
ive got an MDArray consisting of
297 lines containing 4 dimenisions
ServerArray.SetValue("zw", "Unknown", "Unknown", 43)
How do i set it again ???
Dim ServerArray as string(???) ????
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
May 4th, 2004, 02:40 PM
#2
Thread Starter
Fanatic Member
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
May 4th, 2004, 03:20 PM
#3
Thread Starter
Fanatic Member
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
May 4th, 2004, 03:55 PM
#4
Thread Starter
Fanatic Member
Right who ever is really good at arrays HELP ME
i hardly use arrays well not massive ones like this
i have nearly 300 lines of code formatted like this
("yt", "Unknown", "Unknown", 43)
("yu", "whois.ripe.net", "Verified", 43)
("za", "whois.frd.ac.za", "Verified", 43)
("zm", "Unknown", "Unknown", 43)
("zr", "Unknown", "Unknown", 43)
("zw", "Unknown", "Unknown", 43)
reading loads of crap about arrays etc it says i have to code it like
blah(0,0) = "yt"
blah(0,1) = "whois.ripe.net"
blah(0,2) = "Verified"
blah(0,3) = "43"
+ just to put the spanner in the works i wana be able to find a value within the array i.e. the tld = "yt" then get the index of the record.
reading on.... i see you cant search a MDArray, so comments, choices, options
the following are out the windows
Storing them in a database - its a com object i dont want uses to have to install db's, hash tables, not enough room for values arraylist ( one dimenisonal i think-could be wrong)
So PRIATE and the other GODS IN here WHERE the F*c* are you....
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
May 4th, 2004, 08:15 PM
#5
PowerPoster
Hi,
You have not been making youself very clear (to me at any rate).
What did you mean by "How do i set it again ??? "
Then you say the array has 4 dimensions but you give an example of a two dimensioned array.
If you want to find the index of the element containing yt where one rank in the two dimensional array reads
blah(0,0) = "yt"
blah(0,1) = "whois.ripe.net"
blah(0,2) = "Verified"
blah(0,3) = "43"
then you need something like
VB Code:
Dim intCount as Integer
For intCount = 0 to blah.GetUpperbound(0)
If blah(intCount,0)="yt" Then
MessageBox.Show("Index Number is " & intcount)
exit for
end if
Next
(I think )
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
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
|