Brian Dunning's FileMaker Custom Functions

IndexList ( size )

Speedily (and with limited recursion) return a list of up to one million integers from 0 to (size-1).

  Average rating: 4.4 (32 votes) Log in to vote

Debi Fuchs   Debi Fuchs
Aptworks Consulting

Share on Facebook Share on Twitter

  Sample input:
IndexList ( 100 )
  Sample output:

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

CUSTOM FUNCTION: IndexList ( size )
© 2008 Debi Fuchs of Aptworks Consulting,

Speedily (and with limited recursion) return an "index list" of integers from 0 to (size-1). This is useful mostly as a helper to various other functions.

NOTE: This implementation uses no recursion. (See IndexList_PartlyRecursive for a recursive version. It uses just a little more stack space, but is slightly faster than this one.)

LAST MODIFIED: 13-AUG-2008 by Debi Fuchs of Aptworks Consulting



Log in to post comments.


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

Under construction. Email me your wish list for improvements.