Jump to content

Srand()

From OpenBOR
Revision as of 15:11, 21 July 2026 by Dcurrent (talk | contribs) (Created page with "Updates global seed for random number generator.<syntaxhighlight lang="c" line="1"> int seed = 78; srand(seed); </syntaxhighlight> Category:OpenBOR Index Category:Script Functions Category:Math")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Updates global seed for random number generator.

int seed = 78;

srand(seed);