On Sun, 1 Nov 2020, Jim Hall wrote:
I'll add that you can also do the "old skool" thing and do like we did
in my Fortran77 programming days: prompt the user for a seed value,
and pass that to RANDOMIZE.
10 PRINT "Enter a random seed value:"
20 INPUT SEED
30 RANDOMIZE SEED
And (and MBASIC-80/86 work the same way) if you just use RANDOMIZE it's
equivalent to all of that.
The actual prompt used by all 3 is "Random number seed (-32768 to 32767)?"
-uso.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel