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 - Show more from this author
Aptworks Consulting http://www.aptworks.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
/*
CUSTOM FUNCTION: IndexList ( size )
© 2008 Debi Fuchs of Aptworks Consulting, debi@aptworks.com
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
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.