Pawno question
#7

recursion could be that some of your functions are referring to eachother, like calling them selfes until a certain condition is met. this will fill up the heap/stack and crash when its full.
to get rod of that, organize your callbacks like "master" (the caller) and "slave" (the called), and then see if a slave (called) functin calls others, which again closes the circle. if that ever happens, its only about time when the script will fail.
Reply


Messages In This Thread
Pawno question - by Stefand - 09.05.2013, 17:52
Re: Pawno question - by Scenario - 09.05.2013, 17:53
Re: Pawno question - by Patrick - 09.05.2013, 17:54
Re: Pawno question - by Stefand - 09.05.2013, 17:56
Re: Pawno question - by Scenario - 09.05.2013, 17:59
Re: Pawno question - by Stefand - 09.05.2013, 18:35
Re: Pawno question - by Babul - 09.05.2013, 18:38

Forum Jump:


Users browsing this thread: 2 Guest(s)