Function overview
Prototype
ResetToEnd (
valueIter )
Parameters
valueIter A value-iterator to be reset
Description
Tags:
ValueIterator
This function uses a value-iterator "object" that is created with the ValueIterator function.
Once reset to the end, the PrevValue() function would be used to retrieve values backwards.
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
ResetToEnd( ValueIterator( "ape¶bear¶jam" ) )
Sample output
$$_tmp1
Function code
Let( [ jnk = _setVariable( valueIter; 1; _getVariable(valueIter; 2)+1 ) ];
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/168
Prototype: ResetToEnd( valueIter )
Function Author: The Shadow (http://www.fmfunctions.com/mid/34)
Last updated: 24 December 2008
Version: 1
*/
// ===================================
Let( [ jnk = _setVariable( valueIter; 1; _getVariable(valueIter; 2)+1 ) ];__LITBR__ valueIter__LITBR__)__LITBR____LITBR__// ===================================__LITBR__/*__LITBR____LITBR__ This function is published on FileMaker Custom Functions__LITBR__ to check for updates and provide feedback and bug reports__LITBR__ please visit http://www.fmfunctions.com/fid/168__LITBR____LITBR__ Prototype: ResetToEnd( valueIter )__LITBR__ Function Author: The Shadow (http://www.fmfunctions.com/mid/34)__LITBR__ Last updated: 24 December 2008__LITBR__ Version: 1__LITBR____LITBR__*/__LITBR__// ===================================