In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Let me try again: given the same seed you will always get the same result from RANDOM. If you introduce some external randomness (e.g. a button press) to the process -- this is what I do for Halloween prop control. Perhaps you if you described what you want your program to do -- in total -- we'd be able to give better guidance. Or post the code the way you'd write it in C++ for translation. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=334560#m335022 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)