Can someone point me to the documentation that shows the proper syntax for accessing a file stored in my Project via the File/Import Menu? I’ve searched high and low for the syntax using FolderItem but am not getting anywhere. I have several .csv files I’ve been using but I’d like to avoid the requirement of having to store external files with the finished .exe.
Thanks,
Are you saying I cannot use ‘sometext’ as a variable in FolderItem? I have edited my post and have the same syntax Jeff suggested and it still does not work. Sorry if I’m being dense.
Perhaps you are suggesting the entire contents of airports is now a string, not a file. And I can process it as a string. If so, that now seems obvious. Sorry I didn’t get it before.
Perhaps you are suggesting the entire contents of airports is now a string, not a file
Correct. You don’t need to check for ‘exists’, you don’t need to open a TextInputstream.
What you have is a string as if you did a ‘readall’ on a file.