Megatest

random.scm at [0b9de1bde2]
Login

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


(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))))