shufflelist()

Function group Execute on client Platform(s)
Random NO All

Syntax

shufflelist(sourcelist,targetlist,number)

Description

Shuffles the items in sourcelist, the specified number of times, and puts the results in targetlist.

A value of 2 or 3 for number provides a good shuffle. shufflelist() does not support Binary fields, List fields, and Picture fields stored in a list. An empty or null date converts to '31 DEC 00' in the targetlist.

Example

Do shufflelist(lSourceList,lTargetList,3)
; shuffles lSourceList three times and puts the result in lTargetList