|
Navigation: thinBasic language > Modules > Core > Array functions > ARRAY SHUFFLE |
![]() ![]()
|
Description
Shuffle all array elements.
Syntax
ARRAY SHUFFLE ArrayVariable([StartIndex]) [FOR nTimes]
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
ArrayVariable |
|
No |
Name of a declared and already dimensioned array. |
StartIndex |
Number |
Yes |
The element index inside the array from which to start. If omitted, 1 is assumed |
nTimes |
Number |
Yes |
Number of times to shuffle array elements. If omitted, 1 is assumed |
Remarks
Restrictions
Array MUST be numeric [any type].
See also
Examples
| © 2004-2008 thinBasic. All rights reserved. | Version 1.6.0.10 | Web Site: http://www.thinbasic.com |