Aller au contenu principal

Shuffle

Shuffle an array

PUSH

NAME

shuffle - Reorder an array.

SYNOPSIS

shuffle(array)

DESCRIPTION

This function is use to re-order an array. The new order is random

EXAMPLES

a=[1,2,3];
shuffle(a)

SEE ALSO

{{ include("includes/array.sn") }}

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2021-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.