Results 1 to 36 of 36

Thread: 2D Array [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2004
    Posts
    131

    2D Array [RESOLVED]

    I am trying to create an 2D array using these values:

    VB Code:
    1. '                   Boston   Chicago    Dallas  Las Vegas   Los Angeles Miami   Washington D.C  
    2. ' Boston            0        1004       1753    2752        3017        1520    448
    3. ' Chicago           1004     0          921     1780        2048        1397    709
    4. ' Dallas            1753     921        0       1230        1399        1343    1307
    5. ' Las Vegas         2752     1780       1230    0           272         2570    2420
    6. ' Los Angeles       3017     2048       1399    272         0           2716    2646
    7. ' Miami             1520     1397       1343    2570        2716        0       1057
    8. ' Washington D.C.   448      709        1307    2420        2646        1057    0

    Am I starting this out right??
    VB Code:
    1. Dim dblMileage(6, 6) As Double
    2.             dblMileage(0, 0) = 0
    3.             dblMileage(0, 1) = 1004
    Last edited by twisted; Jun 29th, 2004 at 12:51 PM.
    Twisted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width