Random number in range of <0,pRange-1> - !!! use this only during deterministic simulation (CommandHandler)