2-18
Ran# Examples
Example Operation
Ran#
(Generates a random number.)
K6(g)3(PROB)4(RAND)
1(Ran#)w
(Each press of w generates a new random
number.)
w
w
Ran# 1
(Generates the first random number in
sequence 1.)
(Generates the second random number in
sequence 1.)
K6(g)3(PROB)4(RAND)
1(Ran#)1w
w
Ran# 0
(Initializes the sequence.)
Ran# 1
(Generates the first random number in
sequence 1.)
1(Ran#)0w
1(Ran#)1w
RanList# Examples
Example Operation
RanList# (4)
(Generates four random numbers and
displays the result on the ListAns screen.)
K6(g)3(PROB)4(RAND)5(List)
4)w
RanList# (3, 1)
(Generates from the first to the third random
numbers of sequence 1 and displays the
result on the ListAns screen.)
K6(g)3(PROB)4(RAND)5(List)
3,1)w
(Next, generates from the fourth to the sixth
random number of sequence 1 and displays
the result on the ListAns screen.)
w
Ran# 0
(Initializes the sequence.)
1(Ran#) 0w
RanList# (3, 1)
(Re-generates from the first to the third
random numbers of sequence 1 and displays
the result on the ListAns screen.)
5(List) 3,1)w