X16
Defined in X16.BAS.
Returns a (somewhat) random 24-bit number that can serve as the seed for the RANDOMIZE command.
FUNCTION ENTROPY AS LONG () SHARED STATIC
' Display a sequence of 10 random numbers RANDOMIZE ENTROPY() FOR i AS BYTE = 1 TO 10 PRINT RND() NEXT