I 'm new to IDL and using IDL in command-line. When I want to invoke the function array_indices(), the error comes as:
>% Attempt to call undefined procedure/function: 'ARRAY_INDICES'.
>% Execution halted at: $MAIN$
But I have checked, under my lib subdirectory, array_indices.pro exits, whose path goes as: Applications/exelis/idl83/lib. Then why does it behave like this? A similar problem occurs in another invoking command. I downloaded the textoidl.pro file and add it as
idl> !PATH = Expand_Path('+mydirectory\coyote') + ';' + !PATH
the textoidl.pro is under the directory coyote, but I tried that, it says:
>textoidl.pro
>% Syntax error.
I also tried other command added by coyote lib, some, or I should say, most of them work well, but a few really responds as
>*.pro
>%Syntax error.
Does anyone know why?