NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define RAND_MAX   2147483646

The maximum long random number returned by rand