08-13-2007, 10:30 PM
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
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