Categories

IDL and include

If you want to include another file in an IDL routine, you can of course do this with the ‘@’ symbol as explained by Coyote’s Guide to IDL Programming, i.e. you can have a file a.pro with e.g.

a=1

and a file b.pro with, e.g.,

pro b
@a
print,a
end

This works fine as long as [...]