Nasal library: Difference between revisions

Jump to navigation Jump to search
m
Line 1,956: Line 1,956:
|param1text = Initialization function which will be called during FlightGear's startup.
|param1text = Initialization function which will be called during FlightGear's startup.
}}
}}
=== removecommand() ===
=== removecommand() ===
{{Nasal doc
{{Nasal doc
Line 2,089: Line 2,088:
|text = Makes the pseudorandom number generator (see {{func link|rand}}) generate a new {{wikipedia|random seed|noicon=1}} based on time. Returns 0.
|text = Makes the pseudorandom number generator (see {{func link|rand}}) generate a new {{wikipedia|random seed|noicon=1}} based on time. Returns 0.
}}
}}
=== systime() ===
=== systime() ===
Returns epoch time (time since 1970/01/01 00:00) in seconds as a floating point number with high resolution. This is useful for benchmarking purposes.
Returns epoch time (time since 1970/01/01 00:00) in seconds as a floating point number with high resolution. This is useful for benchmarking purposes.

Navigation menu