Subject | RE: [IB-Architect] enhancement to procedure/trigger language |
---|---|
Author | Leyne, Sean |
Post date | 2001-06-06T19:25:25Z |
Ann,
As we discussed in the Firebird Dev list, I think that the syntax your
suggesting;
begin
level 1;
for select ....
do begin
if ...
leave 1;
level 2;
for select ...
do begin
if ...
leave 2;
else if ...
leave 1;
else ...
end;
end;
end;
while providing the ability to specify the level to exit to, is
cumbersome when compared to the simplicity of the Delphi/C 'break':
begin
for select ....
do begin
if ...
break;
for select ...
do begin
if ...
break;
end;
end;
end;
"I can feel the warm breath of the wolf on my neck, as he is about to
strike, as I write this..."
Sean
As we discussed in the Firebird Dev list, I think that the syntax your
suggesting;
begin
level 1;
for select ....
do begin
if ...
leave 1;
level 2;
for select ...
do begin
if ...
leave 2;
else if ...
leave 1;
else ...
end;
end;
end;
while providing the ability to specify the level to exit to, is
cumbersome when compared to the simplicity of the Delphi/C 'break':
begin
for select ....
do begin
if ...
break;
for select ...
do begin
if ...
break;
end;
end;
end;
"I can feel the warm breath of the wolf on my neck, as he is about to
strike, as I write this..."
Sean