NchooseK | topic started 8/28/2001; 1:07:14 AM last post 8/28/2001; 1:07:14 AM |
Michael Gage - NchooseK 8/28/2001; 1:07:14 AM (reads: 2084, responses: 0) |
NchooseKDescriptionRandomly chooses an array of k entries from the array 0 .. (n-1). (n entries beginning with 0) Syntax
Params
Returns A subarray of length k with entries between 0 and (n-1) Examples To obtain 3 random letters from the first five letters of the alphabet. Notes Defined in PGchoicemacros.pl
|