Results 1 to 9 of 9

Thread: randomize an array[resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    randomize an array[resolved]

    how would i randomize an array like for example i have..

    dim this(0 to 9) as string

    this(0) = 0
    this(1) = 1
    this(2) = 2
    this(3) = 3
    this(4) = 4
    this(5) = 5
    this(6) = 6
    this(7) = 7
    this(8) = 8
    this(9) = 9

    and i randomize it and it turns to something like

    this(0) = 5
    this(1) = 3
    this(2) = 2
    this(3) = 1
    this(4) = 6
    this(5) = 0
    this(6) = 7
    this(7) = 4
    this(8) = 9
    this(9) = 8

    can anyone help???
    Last edited by high6; Nov 23rd, 2005 at 01:14 PM.

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