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
Re: Attempt to call undefined procedure: 'DEFAULT' error [message #92020 is a reply to message #92017] Thu, 01 October 2015 10:11 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Thursday, October 1, 2015 at 4:29:56 AM UTC-4, jf22901 wrote:

> % Compiled module: DEFAULT.
> % Attempt to call undefined procedure: 'DEFAULT'

This is the symptom one gets when a function is being called as a procedure, or a procedure is being called as a function. I suspect the default.pro that you have is not the one that int_tabulated.pro is expecting.

It is a bit of a mystery why a procedure/function named default.pro is being called at all. Int_tabulated is supplied by Exelis, and it calls a function uniq.pro also supplied by Exelis. Neither of these call a function named default.pro

But there is a modified version of uniq.pro written by the Solar Library
https://code.google.com/p/sswgdl/source/browse/trunk/sswgdl/ workarounds/uniq.pro?spec=svn25&r=25

that does call a procedure default.pro. This was poor programming practice -- if you want to modify an Exelis procedure, it is best to use a different name.
[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 17:56:35 PDT 2025

Total time taken to generate the page: 0.00412 seconds