Megatest

random.scm at [b85b307ce3]
Login

File testzmq/random.scm artifact 7090f9f44f part of check-in b85b307ce3


(use posix numbers)
(randomize (inexact->exact (current-seconds)))

(define low (string->number (cadr (argv))))
(define hi  (string->number (caddr (argv))))

(print (+ low (random (- hi low))))