Thanks. I wrote the below code but would like to try to change it to use RolledRandom.next-roll instead. Can someone guide me with the change?
I keep getting syntax errors.
{View
{value
let random:Random = {Random}
{random.next-in-range 1, 1328}
},
visibility = "normal",
{on WindowClose do
{exit}
}
}
Thanks,
PangTee
Kamal Bhatt <[EMAIL PROTECTED]> wrote:
Kamal Bhatt <[EMAIL PROTECTED]> wrote:
Use the class Random.{value let random:Random = {Random}{random.next-float}}Note that Random had several methods to get a random int16, int32, uint8, etc----- Original Message -----From: pang teeSent: Friday, December 16, 2005 6:29 AMSubject: Re: MenuManager and MenuItem.get-prevdoes anyone have a simple example of a random number generator created and displayed in Curl? I want to replace the current usage of _javascript_ Math object to generate and display a random number.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com