Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Random Generator
Message
De
22/01/2001 22:49:39
 
 
À
22/01/2001 22:41:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00467103
Message ID:
00467109
Vues:
13
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform