Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

TimerInit question and proper use of code question

$
0
0
If I am in a loop and I want to exit the loop (free the memory) and goto another function where there is no passing of any arguments, is it better to use the call function or just name the function I want to goto?

Example:

Func _Main()
While 1
	 If something then
	 Call ("_SecondFunc()")	<------This
WEnd

Func _SecondFunc()
While 1
	 Whatever
WEnd


Vs

Func _Main()
While 1
	 If something then
	 _SecondFunc()   <---------This
WEnd

Func _SecondFunc()
While 1
	 Whatever
WEnd


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>