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

This is an example of how to use the SysRandomNumber function along with the RandomNumberType structure.

task main()
{
SysRandomNumber(rnArgs);
int myRandomValue = rnArgs.Result;
}