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
*/
// ===================================
Let( [ jnk = _setVariable ( valueIter ; -1 ; "" );__LITBR__ jnk = _setVariable ( valueIter ; 0 ; "" );__LITBR__ jnk = _setVariable ( valueIter ; 0 ; "" )__LITBR__ ];__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/170__LITBR____LITBR__ Prototype: DeleteValueIterator( valueIter )__LITBR__ Function Author: The Shadow (http://www.fmfunctions.com/mid/34)__LITBR__ Last updated: 24 December 2008__LITBR__ Version: 1__LITBR____LITBR__*/__LITBR__// ===================================
Login or register to comment
Create a new account with fmcustomfunctions.com or login to post a comment.