NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_rand.nxc

This is an example of how to use the rand function.

unsigned long x = rand(); // 0..RAND_MAX