Perfect !!!

Proof :

Code:
break on


$array = 0,0,1,0,0

$_ = function1($array)

get $
exit 1

function function1($a)
$_ = execute("for each $$e in $$a
if $$e = 1
'element = 1, exiting' ? exit 1
else
'$$e' ?
endif
next
")
"still in function" ?
endfunction




Well, still an ExitFor gets my vote


Edited by Jochen (2004-03-19 03:43 PM)
_________________________