Re: Ideas for next Eu
- Posted by Greg Phillips <i.shoot at REDNECKS.COM> Nov 15, 1999
- 862 views
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