Help with random

Joe Lewis Wilkins pepetoo at Cox.Net
Sun Feb 4 19:13:42 EST 2007


Hi Kevin,

I'm a beginner with Revolution too; but, if I were doing this in HC,  
I'd do three successive random calls, putting the results into three  
local var and then adding the three vars to produce the number you're  
looking for.

HTH,

Joe Wilkins

PS -- why aren't you watching the Super Bowl?

On Feb 4, 2007, at 4:08 PM, Kevin J wrote:

> Hello,
>
> I am new to revolution and so far love the program. I am having a  
> little
> problem that I can't seem to figure out with using random. What I  
> am trying
> to accomplish is to make a random
> roll and adding the results up. ie: like rolling 3 6 sided dice and  
> add the
> results together. I can get the program to produce the random of a  
> number
> with no problems.
>
> Is there a way to accomplish the task?
>
> Thanks
>
> Kevin
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list