On 02/03/2017 16:58, Ken Dibble wrote:
<snip > Of course, the way to handle this is to add code to test the size of the array before trying to iterate it, which I have now done. But I am still at a loss to understand how the error could occur.
What I usually do in situations like this is to put in lines of code to write out to log files. You usually spot something unusual then and can refine it or fix it. Something like
if file('alerts.txt') strtofile('My messages','mylogfile.log',.t.) endif
You can then turn off the logging by removing the alerts.txt.
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960