Nasal library: Difference between revisions

Jump to navigation Jump to search
(→‎srand(): WIP doc)
Line 2,084: Line 2,084:


=== srand() ===
=== srand() ===
{{WIP}}
{{Nasal doc
{{Nasal doc
|syntax = srand();
|syntax = srand();
|text = Generates a new random seed for the pseudorandom number generator (see {{func link|rand}}). Returns 0.
|source = {{flightgear file|src/Scripting/NasalSys.cxx|l=559|t=Source}}
|text = Makes the pseudorandom number generator (see {{func link|rand}}) generate a new {{wikipedia|random seed|noicon=1}} based on time. Returns 0.
}}
}}


Navigation menu