will work, though as rthhawk saysfor (;;;)
is maybe a little more conventional.There's no inbuilt limit to the loop either way.while(1)
Options?
You could set up the script to run under some process monitor or other. There are quite a few around. For a bit of fun you could write your own (but who monitors the monitor?).
If you wrap the whole thing in an eval you maybe able to trap the condition that causes the exit and resume the loop.
See eval documentation.In reply to Re: Infinite Loop Question
by mrstlee
in thread Infinite Loop Question
by joeymac
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |