R RJB Active Member Licensed User Longtime User Jul 18, 2019 #1 Hi, Is there any difference between calling AppStart and using esp.Restart? B4X: sub Restart esp.Restart end sub sub RestartToo AppStart end sub
Hi, Is there any difference between calling AppStart and using esp.Restart? B4X: sub Restart esp.Restart end sub sub RestartToo AppStart end sub
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2019 #2 Yes. Calling AppStart just calls AppStart sub. It doesn't do anything special. Calling restart actually restarts the board. This includes resetting all the global variables. Upvote 0
Yes. Calling AppStart just calls AppStart sub. It doesn't do anything special. Calling restart actually restarts the board. This includes resetting all the global variables.