Steve Church

random number generation CW 5.7 MC9S08RE16

Discussion created by Steve Church on Feb 5, 2008
Latest reply on Feb 5, 2008 by CrasyCat
I wish to generate a random number using the rand() function.as in

number = rand();

but I get a warning "No copydown created for initialised object 'seed'. Initialization data lost.

What am I missing? I don't understand what 'copydown' is.

Steve

Outcomes