X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Jul 2014 01:14 PM by  anon
Attempt to call undefined procedure
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Jul 2014 01:14 PM
    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'

    Deleted User



    New Member


    Posts:
    New Member


    --
    09 Jul 2014 05:54 PM
    What do you get when you type IDL> .compile square IDL> print, file_which('square.pro')
    You are not authorized to post a reply.