Forums
Perform Find affects local variable contents - Printable Version

+- Forums (http://www.taroko.org/taroko/forums)
+-- Forum: Developer (/forumdisplay.php?fid=3)
+--- Forum: FM Scripting and Calculations (/forumdisplay.php?fid=4)
+--- Thread: Perform Find affects local variable contents (/showthread.php?tid=123)



Perform Find affects local variable contents - doug - 07-07-2016 02:08 PM

As attached, a local variable ($List) is set with a list of values in a recursive script. (The example was extracted into a standalone script).

A value is taken from the list and a Find done for the record. The Find is successful but affects the contents of $List and another local variable $req. Changing $List to $ParentList resolved the problem. FMS version is 12.0.5.551 and the FMPA client is 14.0.6.