-Original Message-
From: Przemyslaw Czerpak [mailto:dru...@acn.waw.pl]
Sent: Monday, May 25, 2009 9:40 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] exit with switch and for each
On Sat, 23 May 2009, Vailton Renato wrote:
[...]
The same is for many other
On Wed, 27 May 2009, Horodyski Marek (PZUZ) wrote:
This is not comparable. Exit was escape from loop without control
expression, loop with control.
Now, when mixed syntax switch and any while/for we still heve LOOP
inside switch, but EXIT no longer.
EXIT in the sense : escape from a loop.
Yes, therefore I write without additive rules.
Regards,
Marek Horodyski
-Original Message-
From: Vailton Renato [mailto:vail...@gmail.com]
Sent: Saturday, May 23, 2009 10:06 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] exit with switch and for each
Here I use
Horodyski Marek (PZUZ) escreveu:
Yes, therefore I write without additive rules.
Regards,
Marek Horodyski
-Original Message-
From: Vailton Renato [mailto:vail...@gmail.com]
Sent: Saturday, May 23, 2009 10:06 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] exit
On Sat, 23 May 2009, Vailton Renato wrote:
Hi,
Here I use something like this:
lExit := .F.
for each x in stringORarray
switch x
case 'a'
lExit := .T.
exit // but we need exit from for each, not only from switch
end
if lExit
exit;
end
next
The same is for many other