I have an array joke(9) with a diff string in joke(0)-joke(9) and i want to call one at random. rnd does the random for vbscript but repeats the same number so im supposed to set a max and a min and use...
(Int((max-min+1)*Rnd+min))
since it gives me a different random number each time, but i want to include joke(0) in the selection but if the min is zero the formula above will not work..
so how do i call a random string in my array, including the string @ array location zero, and is a different random each time prog is run?
(Int((max-min+1)*Rnd+min))
since it gives me a different random number each time, but i want to include joke(0) in the selection but if the min is zero the formula above will not work..
so how do i call a random string in my array, including the string @ array location zero, and is a different random each time prog is run?