I can’t get to understand how can i send parameters to a function and receive from it a value i want to use.
For that matter, let say the function gets from the user input of a file path. I need it to return it and to use that file path for other things in my script.
Can someone give me an example?
I want to call the above function. The function opens a dialog window for the user to choose a file and i need it to return the file path in order for me to use it for other things in the script.