Cetin, my only real objection to it is that having various returns sprinkled through a proc/loop/check etc can make things more difficult than they need to be for the next person who has to deal with my code.
Alan
>>Hi
>>
>>if you are using with endwith should you never jump out of the middle.
>>
>>ie
>>
>>WITH
>>
>>return
>>ENDWITH
>>
>>I can see it looks like a bad thing to do but whats the actual impact.
>>
>>Thanks
>>
>>Nick Mason
>
>I don't like to strictly follow the general practices and on this subject I certainly do not follow :)
>I think it's up to the programmer to have a return in the middle of a proc/loop/check etc. If I can control it why wouldn't I do that. ie:
>
>
>* a method
>lparameters p1,p2,p3
>with this
> if !.Something(p1,p2,p3)
> return .f.
> endif
>....
>
>Only impact IMHO is if you can't control your coding, IOW readability maybe.
>Cetin