Selecting a file to open using the answer function
Posted: Fri May 01, 2015 9:02 am
I'm working on a program that reads a csv file and am using the answer file function. The function has a parameter to specify the file type. However, when I get to the directory containing my file, all of the files are displayed, not just the csv files. I've tried various ways of entering the parameter; with a period as in .csv, without the period as in csv, with and without quotes, etc. Can someone please make a suggestion as to the correct syntax to use?
Here is a sample of the code that I've been using:
answer file "Select the text file to read" with type "csv"
Thanks
Here is a sample of the code that I've been using:
answer file "Select the text file to read" with type "csv"
Thanks