ableos/sysdata/libraries/stn/src/random.hb
2024-09-13 22:41:31 +01:00

7 lines
146 B
Plaintext

integer := fn(): int {
return @eca(int, 3, 4)
}
integer_range := fn(min: int, max: int): int {
return @eca(int, 3, 4) % (max - min + 1) + min
}