Brian Dunning's FileMaker Custom Functions

TryFor0 ( range )

Try to get 0 from random

  Average rating: 4.3 (28 votes) Log in to vote

Christoph Ivo Mattle   Christoph Ivo Mattle
Christophs
http://www.christophmattle.ch

Share on Facebook Share on Twitter

  Sample input:
TryFor0 ( 10 )
  Sample output:
21

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

We call the random function until it generates 0.
The result shows the number of tries; it will always be different.

Just fun :-)

 

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.