comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Attempt to call undefined procedure: 'DEFAULT' error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Attempt to call undefined procedure: 'DEFAULT' error [message #92017] Thu, 01 October 2015 01:29 Go to previous message
Sir Loin Steak is currently offline  Sir Loin Steak
Messages: 42
Registered: January 2012
Member
I am trying to use the int_tabulated function, but I keep getting the above error. For example:

IDL> x = [0.,1.,2.,3.]
IDL> f = [3.,4.,7.,12.]
IDL> result = int_tabulated(x, f)
% Compiled module: INT_TABULATED.
% Compiled module: UNIQ.
% Compiled module: DEFAULT.
% Attempt to call undefined procedure: 'DEFAULT'
% Execution halted at: $MAIN$

Now I have a file called default.pro in my idl/lib directory, and IDL can seemingly find it:

IDL> .compile default
% Compiled module: DEFAULT.
IDL> print, file_which('default.pro')
% Compiled module: FILE_WHICH.
/home/idl/lib/default.pro

I have also opened idlde, and in preferences->paths I have set <IDL_DEFAULT> as the first location in the list to see if this helped. The problem still occurs though.

Can anyone offer any help as to what is going on?

Many thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Do you want to make a scatter plot of the square should I do if there?
Next Topic: Reading netcdf/hdf5 files slows down

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:49:07 PDT 2025

Total time taken to generate the page: 0.00497 seconds