Hi Thanks for taking the time to reply, it turns out that Back in the code where the array is populated, in a loop, there is this statement
APPEND TO ARRAY(StartSampleArray;($Start*<>SampleRate/75)) This does not always evaluate correctly when compiled it shoud read APPEND TO ARRAY(StartSampleArray;$Start*(<>SampleRate/75)) this fixes the problem thanks -pm ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

