ResetToBegin ( )

Function stats

Average user rating
34
169
9999
Support
FileMaker 8.0 +
Date posted
24 December 2008
Version
1
Recursive function
No

Author Info
 The Shadow

22 functions

Average Rating 4.3

author_avatar



 

Function overview

Prototype

ResetToBegin  ( valueIter )


Parameters

valueIter  A value-iterator to reset


Description

Tags:  ValueIterator  

This function uses a value-iterator "object" that is created with the ValueIterator function.

Once reset to the beginning, the NextValue() function would be used to retrieve values.

The function returns a reference to the reset valueIter, which is always the same value as the one that was passed in, so calls can be nested if desired.

Examples

Sample input

ResetToBegin( ValueIterator( "ape¶bear¶jam" ) )


Sample output

$$_tmp1

 

Function code

Let( [ jnk = _setVariable( valueIter; 1; 0 ) ];
valueIter
)

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/169

    Prototype: ResetToBegin( valueIter )
    Function Author: The Shadow (http://www.fmfunctions.com/mid/34)
    Last updated: 24 December 2008
    Version: 1

*/
// ===================================