Vector Basic Interpreter Basic 80 Reference Manual - page 95
RANDOMIZE
«expression>]
Extended,
Disk
If
is
program
execution
printing
Random Number Seed
(0-65529)?
omitted,
BASIC-80
suspends
and
asks
for
a
value
by
If ~e
random number generator
is not
reseeded,
the
RND
function
returns ~e
same sequence
of
random numbers
each time the program
is RUN.
To
change the sequence of random numbers
every time
the program is RUN, place a RANDOMIZE
statement
at
the
beginning
of the program
and change
the
argument with each RON.
10 Rk'mOMIZE
2.0
FOR I-1 TO 5
30 PRINT RND
J
40 NEXT I
RON
Random Number Seed
(0-65529)? 3
(user types
3)
.88598
.484668
.586328
.119426
.709225
Ok
RUN
Random Number Seed
(0-65529)?
4 (user types 4
for new sequence)
.803506
.162462
.929364
.292443
.322921
Ok
RON
Random Number Seed
(0-65529)?
3 (same sequence
as first RUN)
.88598
.484668
.586328
.119426
.709225
Ok
With the BASIC Compiler, the prompt given by
RANDOMIZE is:
Random Number Seed
(-32768 to 32767)?