>You can reseed the random number generator with the Randomize() function, >but that may not be your problem. > ><CFSET random_number=RandRange(1, 10)> ><CFOUTPUT> >#random_number# >#random_number# >#random_number# ></CFOUTPUT> > >Here you set a single variable to a random value, then you output it on >the page three times. The variable's value isn't going to change each >time. If you made "random_numer" a user defined function, then it may do >what you're looking for. Or create three different variables and set each >one using RandRange(). > > >----- Original Message ----- >From: "Chris McCarthy" <[EMAIL PROTECTED]> >To: "CF-Talk" <cf-talk@houseoffusion.com> >Sent: Thursday, March 31, 2005 5:10 PM >Subject: Question on randomizing multiple times on the same page > > >>
Thanks Jim, I'll try the UDF approach :). Just wanted to make sure I wasn't missing something basic. -Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201111 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54