I'm continuing to work on my Maplet with the question bank, and can succesfully read in files outside of the Maplet using the readline command and parse. However, this is limiting in the fact that the user has to type in the name of the file in a Maple command line.
I would like to use the FileDialog to have them select the file with the questions and answers. It's easy to use RunDialog with to run the FileDialog, but once they've selected the file, how can I assign that "string," say, ["E:\questionbank.txt"] to a variable that I can use outside of the actual Maplet code? I need to throw it to the readline procedure I created so it can read each line and parse them, etc.
The example Maplets in the help file only run a single Maplet that just contains the FileDialog, and when they exit they return the string I was talking about. But I don't want the Maplet to quit. Is there anyway I can run one Maplet all the time and have a second one come up and get the file, exit, return its value, and continue on with the original Maplet? I hope this makes sense.