Hi Kirk,

Just a thought. Are you sure the array as_localMen is initialized in compiled 
mode?

In the past I've been bitten by that kind of issue. In compiled mode the array 
variable is always defined, but for some reason the ARRAY ...(myArray;0) line 
was not called. Then I found that Size of array (myArray) returned a huge 
number. So 4D thought there were lots of elements (no range check error raised) 
but the memory was not reserved because there should have been none. Result: 
crash when trying to access the none existent array elements.

HTH
Koen

Op 22-mei-2017, om 17:19 heeft Kirk Brooks via 4D_Tech <[email protected]> 
het volgende geschreven:

> $j:=Size of array(as_localMen)



--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**********************************************************************
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]
**********************************************************************

Reply via email to