Re: Ideas for next Eu
Here's another program flow idea:
restart(id)
where id is the name of an enclosing function or procedure.
Consider the following:
integer a
a = 0
procedure test()
a+=1
if a != 2 then
restart(test)
end if
puts(1, "a = 2!!")
end procedure
restart(test) implies that execution continues at the start of the procedure.
It could be used in conjunction with exit() to test for certain conditions.
Useless? Maybe. But heck, it's an idea.
Regards,
Greg Phillips
|
Not Categorized, Please Help
|
|