Simple example of this problem i've been having.
So I made a procedure called SQUARE, here it is:
pro square, input, quiet=quiet
if keyword_set(quiet) then begin
print, "square= ", input^2
endif
if not keyword_set(quiet) then begin
print, "input= ", input
print, "square= ", input^2
endif
end
I make another .pro file that looks like this:
square, 7
end
---
And I get the Attempt to call undefined procedure error message. Both .pro files are in the same directory, and I added this directory to my paths using 'preferences'
|