Re: Generate Random numbers between 0 and 4
Re: Generate Random numbers between 0 and 4
- Subject: Re: Generate Random numbers between 0 and 4
- From: j o a r <email@hidden>
- Date: Tue, 23 Dec 2003 10:45:01 +0100
Read "man random". Use the modulo operator to limit the range on the
returned value.
j o a r
On 2003-12-23, at 10.23, Roberto wrote:
>
How can I generate Random Numbers between 0 and 4?
>
>
With the function short Random() is it possible?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.