PA0465 Console Scientific Calculator Program
Random number generator (2)
Program: PA0465
Interrupting under 'RAN' on line 24 will produce the
next value in a pseudo-random number sequence. This
sequence is seeded by the 15 Hz count from the console
processor. So, successive entries to the program should
produce a different sequence. The default range of values
is 0 to 999 inclusive. This range can be changed via the
utilities window. Random numbers generated in this way
are placed in the answer stack.
Level 2 Topics:
Page(s):
Callee(s):
none