User Manual
2-19
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
u Random Integer Generation (RanInt#)
RanInt# generates random integers that fall between two specified integers.
  RanInt# (A, B [,
n]) A < B |A|,|B| < 1 × 10
10
 B – A < 1 × 10
10
 1 < n < 999
• A is the start value and B is the end value. Omitting a value for 
n returns a generated random 
number as-is. Specifying a value for n returns the specified number of random values in list 
form.
Example Operation
RanInt# (1, 5) 
(Generates one random integer from 1 and 
5.)
K6(g)3(PROB)4(RAND)2(Int)
1,5)w
RanInt# (1, 10, 5)
(Generates five random integers from 1 to 
10 and displays the result on the ListAns 
screen.)
K6(g)3(PROB)4(RAND)2(Int)
1,10,5)w










