Files
calc/help/isrand
2017-05-21 15:38:25 -07:00

29 lines
402 B
Plaintext

NAME
isrand - whether a value is an additive 55 state
SYNOPSIS
isrand(x)
TYPES
x any, &any
return int
DESCRIPTION
Determine if x is an additive 55 pseudo-random number generator state.
This function will return 1 if x is a file, 0 otherwise.
EXAMPLE
> a = srand(0)
> print isrand(a), isrand(0);
1 0
LIMITS
none
LIBRARY
none
SEE ALSO
rand, srand