====== mame_rand() ====== ---- The ''mame_rand()'' function returns a standardized random number. ===== Syntax ===== ---- ==== Declaration ==== Declared in ''src/emu/mame.h'' as UINT32 mame_rand(running_machine *machine); ==== Parameters ==== * ''*machine'' – Pointer to the currently running machine. ==== Returns ==== A random number. ===== Example ===== UINT32 number = mame_rand(Machine); Will store a random number into the variable number.