Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to access the time and use in IF statement
#4
Thank you for your time, yes something like this. What I would like to do is
at each hour of the day, choose a different set and range random times my program will loop for. So say for example:

the program starts running at 9 am say.
_i=Uniform(1 10)
rep _i

but when 10 am i want to change the random numbers say to
_i=Uniform(20 30)
rep _i

when 11 am
_i=Uniform(30 40)
rep_i

and so fourth. How could i link that to that time statement.
Thank you very much.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)