> -----Original Message----- > From: Barney Boisvert [mailto:bboisv...@gmail.com] > Sent: Sunday, December 14, 2008 6:51 PM > To: cf-talk > Subject: Re: A few unique random numbers > > numbers = {}; > while (structCount(numbers) LT 6) { > numbers[randRange(1, 20)] = ""; > } > numbers = structKeyList(numbers);
I think my current job's turned my brain to mush. That said this is as clever as hell. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4