Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is this the best way? (repeat code random number of times)
#1
Hey guys, can anyone help me out here.

i would like to use this code in conjunction with uniform function trouble is, is dont know how to use it as im very new, i have looked at the threads on random/random numbers and uniform function, but still do not understand how to link, so that i can pick a random number between 1 and 49 and then output/use that number in a Rep statement so that it repeats a random number of times. Kudos to Ken Gray for giving me the starting code below. Any help greatly aprreciated,

Any Help Greatly appreciated
Kind Regards
Paul, confused newbie lol

_i=Uniform(1 49)
rep _i


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)