Megatest

random.scm at [d6966aee7c]
Login

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


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