From: Alex P. <pe...@in...> - 2006-01-20 09:11:33
|
Jim Starkey wrote: > > Label / Leave is not a goto, it's a come-from. Unlike goto, it can't > lead to spaghetti code. It is as well define and sound as "return". > Being able to exit a loop or exit a block reduce the size and complexity > of code, eliminating the need to flags to indicate that you wish you had > a break. > I'm completely agree that LEAVE LABEL is OK from any point of view. But can you, please, explain, why BREAK is OK, but LEAVE (without label) not? What is the difference (except different keywords)? |