X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Jan 2005 01:52 PM by  anon
function added
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
07 Jan 2005 01:52 PM
    I wrote a function wich i want to put into to specific folder. How do i make idl to look into that folder every time i call this function. Basicaly i just want to invoke this function in any program just like any other function from idl lib. I tried !PATH modification a even put it in lib/ directory but idl still says 'variable undefined' or 'calling undefined function' when i call it. PLZ help. i dont know what to do any more. Thanx Ladi

    Deleted User



    New Member


    Posts:
    New Member


    --
    07 Jan 2005 01:52 PM
    To access your own directory of functions and procedures, you will need to append your own directory after IDL’s default path using the IDL_PATH environment variable (under UNIX): % setenv IDL_PATH ":/your/path/here" (Setting the Windows environment variable IDL_PATH to a similar string would produce the same result on a Windows system.) This substitution allows you to set up your paths without having to hard-code IDL’s defaults into your startup scripts or environment variables.
    You are not authorized to post a reply.