On Wed, 25 Jun 2014 02:43:11 +0200
Benoît Minisini <gam...@users.sourceforge.net> wrote:

> Le 25/06/2014 02:30, B Bruen a écrit :
> > I realise that modifying the enumerated set during a For Each loop is
(Cut)
> 
> No. An array is an object, and aTest a variable that owns a *reference* 
> to the array. If you set aTest to NULL, you just remove the reference, 
> not the array by itself, which is referenced by the FOR EACH instruction 
> until it ends.
> 
> -- 
> Benoît Minisini
> 

Ah, OK. So using 
  If Not aTest Then Break
during the loop appears to resolve the situation.

thanks
Bruce

-- 
B Bruen <bbr...@paddys-hill.net>

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to