Calling a procedure from another procedure
Posted: Mon Dec 28, 2020 5:50 pm
If you have a button and that button calls one or more procedures, for example:
When you click #MyButton it calls the getRecord() procedure. When getRecord() has completed it returns to #MyButton and then calls displayRecord().
My question is,… It is my understanding that it is possible to call a procedure from within another procedure. If this is true,… let’s say that when #MyButton is pressed it calls getRecord(). Then at some point getRecord() calls anotherProcedure(). When anotherProcedure() has completed, where does the program flow return to? Back to the getRecord() that called it or back to #MyButton to call the displayRecord()?
Kind of hard to explain but, hopefully you get the drift of what I am asking.
Thanks.
Code: Select all
#MyButton
getRecord()
displayRecord()
My question is,… It is my understanding that it is possible to call a procedure from within another procedure. If this is true,… let’s say that when #MyButton is pressed it calls getRecord(). Then at some point getRecord() calls anotherProcedure(). When anotherProcedure() has completed, where does the program flow return to? Back to the getRecord() that called it or back to #MyButton to call the displayRecord()?
Kind of hard to explain but, hopefully you get the drift of what I am asking.
Thanks.