Ran# Examples

Example

Operation

 

 

Ran#

K6(g)3(PROB)4(RAND)

(Generates a random number.)

1(Ran#)w

(Each press of w generates a new random

w

number.)

w

Ran# 1

K6(g)3(PROB)4(RAND)

(Generates the first random number in

1(Ran#)1w

sequence 1.)

 

(Generates the second random number in

w

sequence 1.)

 

Ran# 0

1(Ran#)0w

(Initializes the sequence.)

 

Ran# 1

1(Ran#)1w

(Generates the first random number in

 

sequence 1.)

 

 

 

RanList# Examples

 

 

 

Example

Operation

 

 

RanList# (4)

K6(g)3(PROB)4(RAND)5(List)

(Generates four random numbers and

4)w

displays the result on the ListAns screen.)

 

RanList# (3, 1)

K6(g)3(PROB)4(RAND)5(List)

(Generates from the first to the third random

3,1)w

numbers of sequence 1 and displays the

 

result on the ListAns screen.)

 

(Next, generates from the fourth to the sixth

w

random number of sequence 1 and displays

 

the result on the ListAns screen.)

 

Ran# 0

1(Ran#) 0w

(Initializes the sequence.)

 

RanList# (3, 1)

5(List) 3,1)w

(Re-generates from the first to the third

 

random numbers of sequence 1 and displays

 

the result on the ListAns screen.)

 

 

 

2-18