DeleteValueIterator ( )

Function stats

Average user rating
34
170
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

DeleteValueIterator  ( valueIter )


Parameters

valueIter  The value-iterator to delete


Description

Tags:  ValueIterator  

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

Once you are finished using the ValueIterator (via the calls NextValue, PrevValue, ResetToBegin, ResetToEnd), you can free up the memory used by the iterator by calling this function to delete it.

The memory used resides in FileMaker's global variable space, and so would be freed when the file is closed anyway, but this function might be a good idea to use if many ValueIterators are created to avoid wasting memory.

Examples

Sample input

DeleteValueIterator( ValueIterator( "a¶b¶c" ) )


Sample output

$$_tmp1

 

Function code

Let( [ jnk = _setVariable ( valueIter ; -1 ; "" );
jnk = _setVariable ( valueIter ; 0 ; "" );
jnk = _setVariable ( valueIter ; 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/170

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

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