Forum

help needed for random numbers within a range

How do you generate a random number within a range of 1 to 10

Array question by newbie

How do i store the the current value of a variable in array element location 0 and the previous bar's value of the same variable in element location 1 of the array? thks