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
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to