title: Will local variables be independent in recursively called Lotusscript function?
body: <p>If I have a recursive function (Lotusscript) and inside the function is a locally declared variable, will each iteration of the call keep the variables independently stored in memory?</p>
  
  <p>For example, I have a counter on a main function that loops 10 times....it calls the recursive function, and in certain circumstances, that will call itself....but passing a different object each time as an argument.  The recursive function has its own counter variable declared locally.</p>
  
  <p>Suppose this main function if called, and it calls the recursive function one time, and begins a loop, counting up to ten itself.   On the 5th loop, it calls itself.   This recursion will end due to setting a global boolean, and now I have three known local variables, the main function, and two from the recursive function.</p>
  
  <p>Will each of these counters be kept track of independently, so that depending on which function I am in it knows where it is in its own ten loops?</p>
  
  <p>I hope I made this clear.   I am trying a simple proof-of-concept function but it is really confusing.</p>
  
  <p>Thanks</p>