|
|
Envox 6.x
Started by pepper at 11-03-2005 2:17 PM. Topic has 2 replies.
 
 
|
|
Sort Posts:
|
|
|
|
11-03-2005, 2:17 PM
|
pepper
Joined on 11-03-2005
Posts 1
|
Problem with random number block
|
|
|
|
|
Hi,
I am having problems using the random number block. I am trying to get
a random number between 0 and 3, I am setting the @RandomNumSeed to TimeConv(@Time; "hh:mm:ss"; "hhmmss") on a
SetVariable block before the random number block. Any suggestions?
Thnx in advance!
|
|
|
|
|
Report
|
|
|
|
11-03-2005, 5:38 PM
|
ichi
Joined on 07-29-2005
Posts 6
|
Re: Problem with random number block
|
|
|
|
|
Just an idea for a work around...
Can you use a RunHostedScript block and just use some VBScript like..?..
Randomize Rnd()
Hope that helps...
|
|
|
|
|
Report
|
|
|
|
05-24-2007, 9:56 AM
|
dweebster
Joined on 05-24-2007
Posts 2
|
Re: Problem with random number block
|
|
|
|
|
Just set the @RandomNumSeed to @time+@channelnum before you enter the RandomGen block which you set the generate a value between 0 and 3.
Hope this helps!
|
|
|
|
|
Report
|
|
|
|
|
envoxforums.co.... » Version Specifi... » Envox 6.x » Problem with random number block
|
|
|
|