-
Notifications
You must be signed in to change notification settings - Fork 2
_srandom
bergsma edited this page Sep 26, 2014
·
5 revisions
#srandom
###Seed the random number generator.
Syntax
status = srandom seed ;
Arguments
- int seed
A integer seed. The timestamp() function is a good seed source.
Return Value
str status
- $ACKNOWLEDGE : The seed was set.
The STATUS variable is set to $ACKNOWLEDGE
str status
- $ACKNOWLEDGE : The seed was set.
The STATUS variable is set to $ACKNOWLEDGE
Exceptions
- %ARGUMENT: Invalid arguments. Usage: status = srandom seed ;
Description
- None
Examples
puts "Create an example for the function 'srandom'" ;
Related Links