02-06-2014, 05:27 AM
do your function perform at the same time or 1 after the other?
you can make the w variable into a global variable
Then that same w variable(window handle) would be available to use in all your functions without declaring it again
it really depends
your could also pass it to the function as an argument when you run the function
read more about functions in qm help
your could pass the handle using mac as well
as well as other ways
there are many things you can do to if your are using the same window and have many functions that are working on that 1 window
you can make the w variable into a global variable
Then that same w variable(window handle) would be available to use in all your functions without declaring it again
it really depends
your could also pass it to the function as an argument when you run the function
read more about functions in qm help
your could pass the handle using mac as well
as well as other ways
there are many things you can do to if your are using the same window and have many functions that are working on that 1 window