Share this page

# srand

Example: srand | Mathematics Functions

Seeds the pseudo-random number generator.

    int srand( seedTime );

Before invoking rand, call srand to seed the pseudo-random number generator.

## Return Value

Returns a pseudo-random integer in the range 0 to 32767.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: