Brian Dunning's FileMaker Custom Functions

RandomList ( ListToRandom )

To mix a list (random result) (Shuffle)

  Average rating: 4.7 (35 votes) Log in to vote

Agnes Barouh   Agnes Barouh
Tic Tac
http://www.tictac.fr/CoinFileMaker/Page.html

Share on Facebook Share on Twitter

  Sample input:
RandomList ( "Monday¶Tuesday¶Wednesday¶Thursday" )
  Sample output:
Random result :
Tuesday¶Wednesday¶Monday¶Thursday
or
Thursday¶Monday¶Tuesday¶Wednesday
or ....

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

To mix a list (random result) [make a list in the chaos]

- Keeps duplicates datas

- Shuffle

-----------------------------------------
it is not a recursive function
Requires CustomList ( start ; End ; Function )
-----------------------------------------

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.