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

  • Question


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

    Example:

    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..

    Thanks.
    Wednesday, June 7, 2006 7:41 PM

Answers

  • 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