Re: Labeled Loops?
I'm not sure I'm following here.
But say it's implemented so the syntax is:
while 1 do label top
for i = 1 to 10 do label mid
? i
end for
end while
Where top and mid have a scope similar to "for" variables -- that is, to the end
of their respective "end" statements and couldn't be used otherwise as variables.
But they wouldn't be objects or anything. Hmm.
Maybe that's a reason to make them string or sequence constants instead?
Still kinda confused.
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
|
Not Categorized, Please Help
|
|