set_seed_value

Set seed value for random generator.

The seed is an important value to control the generation of random numbers. Random values are generated in various functions of different classes. Hence, this general scope random generator is used to:

Parameters: 
I/O Type Name Description
input integer seed seed value

 

Example: 
function myfunction(term)
        io.write('A code example.\n')
end
Class: 
P2Project