Subject | "for select" and break |
---|---|
Author | Henrik Sitter |
Post date | 2003-09-05T16:38:31Z |
Hello,
I would like to do something like:
for select aValue
from aTable
into aVariable
do
begin
if (aVariable = anInputVariable) then
break;
end
.
.
/* rest of code */
.
.
The 'break' is not valid syntax, but is there a simple way to accomplish
this...to break out of a 'for select' loop?
Thx,
Henrik
I would like to do something like:
for select aValue
from aTable
into aVariable
do
begin
if (aVariable = anInputVariable) then
break;
end
.
.
/* rest of code */
.
.
The 'break' is not valid syntax, but is there a simple way to accomplish
this...to break out of a 'for select' loop?
Thx,
Henrik