Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random Generator
Message
From
22/01/2001 22:49:39
 
 
To
22/01/2001 22:41:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00467103
Message ID:
00467109
Views:
12
>>A fun one. I want to code for a random number from 0 to 35. The challenge is to get that code in less than 6 lines (seven for a tie) as a friend of mine has demonstrated in our other language LINC. Any help will win me a beer!
>
>?int(rand() * 36)

Mike,

Never mind. I have found my brain with the prodding you gave above. Although you gave me a right answer, I did not properly identify the parameters. Now that I am on the right track, I will be able to get it. Sometimes it is the little one...

Thank you.
Previous
Reply
Map
View

Click here to load this message in the networking platform