Erel,
This has got me thinking as it's a subject that crops up from time to time.
I work with Kawasaki robots which use a programming language called AS. It too runs once and then ends but can be made to run continuously either using the robot controller or within the code my forming an endless loop.
My question is this.... is it possible to program an endless loop in App_Start without tying up all of the devices memory?
I was thinking of something like:-
Sub App_Start
InitBitsAndBobs 'General code to run once
...
...
Begin: 'Label to loop round
...
...
... 'Program statements If this happens do something else etc
...
...
GoTo Begin
End Sub
To break the loop you could have an exit option. But do you think that endlessly running around the loop looking for events would cause the device to hang?
Regards,
RandomCoder