newtoclarion
Programmer
Hello everybody
I have this function/procedure which saves results in a Queue.
What I want is to return these values normally to be used in the calling routine.
Now I am defining the Queue in the function as Global, so I can read it and copy its contents to a queue in the calling procedure.
But I am looking for a better way to make my function independent without using the global variables.
Any suggestions are extremely appreciated
I have this function/procedure which saves results in a Queue.
What I want is to return these values normally to be used in the calling routine.
Now I am defining the Queue in the function as Global, so I can read it and copy its contents to a queue in the calling procedure.
But I am looking for a better way to make my function independent without using the global variables.
Any suggestions are extremely appreciated