Brian Dunning's FileMaker Custom Functions

Range ( start, stop, step )

Returns a list of numbers given the parameters

  Be the first to rate this function Log in to vote

Paul   Paul - Show more from this author
Peak 14 LLC

Share on Facebook Share on Twitter

  Sample input:
Range ( 1 ; 5; "" )
  Sample output:

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

Returns a list of numbers starting at "start" and stopping at "stop" incrementing by "step".

If stop will never be reached or if step is 0, an out or range error will be simulated.

Both "start" and "step" are optional. Start's default value is 0 and step's default value is either 1 or -1 depending on if start is greater or less than stop.

This is based off the python range() function.



Log in to post comments.


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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 18 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: