Please use teh CODE tags when posting code, it will make it easier for us to follow the logic when the indents are preserved.

One way would be to place this in a function [UDF], and exit the function when this condition is met.
There is no exitfor (yet)

Code:
break on


$vs = 0
$vy = 0

$_ = test()
"LOOP EXITED"
get $_
exit 0

function test()
For $I=2 to 464
"I"
For $J=2 to 453
"J" ?
If $VS=$VY
exit 0
EndIF
Next
Next
endfunction



Edited by Jochen (2004-11-11 10:42 AM)
_________________________