I think openr has some problems with handling paths that contain spaces, first:
1) spaces need to be escaped by '\' in order to work, IDL does not need that
2) it is possible to trick GDL with an empty file to think it opened a file unit:
a) create an empty file "$HOME/bla"
b) create a folder in your home dir, e.g. mkdir "$HOME/bla bla"
c) try to use openr on some nonexistent file in the "bla bla" dir:
GDL gives you no error, but of course it crashes when you try to read from unit #1
IDL would correctly determine the file is nonexistent and give an error
My version is
Log in to post a comment.