I’m making a front end to a cli c program for my lab.
There’s a basic interface that appears with only the required info needed to execute the program at defaults.
There’s a button to drop down an advanced options panel where the user has all the program switches available to them.
I found that variables set withing the if name of theObject = “applyAdvancedSettings” conditional did not pass to the rest of the application and began reading on applescript and scope.
It appears that both property and global will accomplish what I need done (passing set variables from the advanced panel to the main app), but which is more appropriate design wise and why? Is there another option more appropriate then both these?