====== ENTROPY ====== [x16] //Defined in [[x16.bas]].// Returns a (somewhat) random 24-bit number that can serve as the seed for the [[RANDOMIZE]] command. ===== Function header ===== FUNCTION ENTROPY AS LONG () SHARED STATIC ===== Example ===== ' Display a sequence of 10 random numbers RANDOMIZE ENTROPY() FOR i AS BYTE = 1 TO 10 PRINT RND() NEXT ===== See also ===== * [[RANDOMIZE]] * [[RND]] * [[RNDB]] * [[RNDI]] * [[RNDW]] * [[RNDL]]