Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement