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

Home » Public Forums » archive » Re: IDL Astronomy Library: Some procedures doesn't work?
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: IDL Astronomy Library: Some procedures doesn't work? [message #82514 is a reply to message #82513] Wed, 19 December 2012 06:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nothingness writes:

> I have IDL and IDL Astronomy Library installed on server of my
> institute. Some procedures can be executed, like hastrom, ad2xy,
> correl_optimize, etc. However some others can't, like convolve,
> psf_gaussian, etc. Even though their locations are in the IDL paths
> and some of them (convolve and correl_optimize) are in the same
> directory. And they have the same permissions.
>
> Do you have any idea how to fix this?

Yes, call the procedures as procedures:

IDL> Junk

And call the functions as functions:

IDL> var = Junker()

Functions in IDL always return a value. You have to
provide a receptacle (variable) for the value of the
function to be returned in.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: compare 2-d array with vector
Next Topic: IDL Astronomy Library: Some procedures doesn't work?

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

Current Time: Fri Oct 10 06:59:42 PDT 2025

Total time taken to generate the page: 1.60099 seconds