comparison samples/rand.tp @ 171:869399ff7faa

Merge
author Mike Pavone <pavone@retrodev.com>
date Tue, 13 Aug 2013 22:01:00 -0700
parents 157cc497a7f1
children
comparison
equal deleted inserted replaced
170:18598163e3ef 171:869399ff7faa
1 #{
2 main <- :args {
3 os srand: (os time)
4 count <- 1
5 if: (args length) > 1 {
6 count <- int32: (args get: 1)
7 }
8 while: { count > 0 } do: {
9 print: (hex: (os rand64)) . "\n"
10 count <- count - 1
11 }
12 }
13 }