? Queue.Dequeue to a 2d array ? (1D to 2D Array) RRS feed

  • Question

  • Is it possible to DeQueue to a 2 dimensional array?


    for x = 0 to numberOfQueues
    Array(x,*) = Queue(x).Dequeue
    next x

    how do i wildcard the second dimension?

    since i cannot loop thru the Q
    i have to DeQueue..

    Wednesday, June 7, 2006 7:41 PM


  • Instead of a 2d array you may want to look at jagged arrays (i.e. an array of arrays)
    Wednesday, June 7, 2006 8:26 PM