I haven't tried it personally because its never really necessary.
If you want to know what happens, try it![]()
I haven't tried it personally because its never really necessary.
If you want to know what happens, try it![]()
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
DoSomeTimes:
code block 1
DoOften:
code block 2
Return
The above structure lets you have two separate entry points with a single return. I use this structure when I want to recalibrate a sensor for example.
Calling GOSUB DoOften gets the result of the sensor.
Calling GOSUB DoSomeTimes starts with a calibration routine then gets the results of the sensor.
your mileage may vary but the idea works for me.
HTH
BrianT
Bookmarks