Re: syntax error in routine integ.pro [message #82835] |
Tue, 15 January 2013 06:27 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
idlhelp writes:
> now its giving an error
> "Compiled module: INTEG.
> "Attempt to call undefined procedure/function: 'INTEG'."
>
> but I have that module and also the module default
Ah, then I would say my previous guess that these files are not on your
IDL path is going to receive some heavy betting from the folks around
here! :-)
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.")
|
|
|
Re: syntax error in routine integ.pro [message #82836 is a reply to message #82835] |
Tue, 15 January 2013 06:26  |
abc
Messages: 46 Registered: March 2011
|
Member |
|
|
On Tuesday, January 15, 2013 3:21:07 PM UTC+1, wlandsman wrote:
> Also, if you want to use programs that are only 15 years old rather than 25 years old, then I would download the ltools_022007.tar.gz set of programs from http://archive.stsci.edu/fuse/analysis/idl_tools.html
>
> The program line_eqwidth.pro in that collection is a much improved version of features.pro
>
>
>
> --Wayne
>
>
>
>
>
> On Tuesday, January 15, 2013 8:59:06 AM UTC-5, David Fanning wrote:
>
>> idlhelp writes:
>
>>
>
>>
>
>>
>
>>> I found an IDL routines name "features.pro" to measure the Equivalant Width of spectral lines. The routines work fine but gives an error in subroutines "integ.pro" at line 58 the error is
>
>>
>
>>>
>
>>
>
>>> dex = Default(dex,1.,low=dtyp)
>
>>
>
>>>
>
>>
>
>>> can someone please help me where is the syntax error is here.
>
>>
>
>>
>
>>
>
>> I doubt it is a syntax error. Rather, I suspect you don't have the
>
>>
>
>> program module Default on your IDL path.
>
>>
>
>>
>
>>
>
>> 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.")
Thanks Wayne
|
|
|
Re: syntax error in routine integ.pro [message #82837 is a reply to message #82836] |
Tue, 15 January 2013 06:23  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
idlhelp writes:
> Thanks David for your reply, But be true I didn't understand what do you mean. I have kept all these program in the right directory i.e in "/lib"
Do you find function default.pro in there? Can you show us the function
definition line of that program.
Another thing I would like to see is the result of this line of code:
IDL> Print, File_Which('default.pro')
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.")
|
|
|
Re: syntax error in routine integ.pro [message #82838 is a reply to message #82837] |
Tue, 15 January 2013 06:23  |
abc
Messages: 46 Registered: March 2011
|
Member |
|
|
On Tuesday, January 15, 2013 3:14:32 PM UTC+1, idlhelp wrote:
> On Tuesday, January 15, 2013 2:59:06 PM UTC+1, David Fanning wrote:
>
>> idlhelp writes:
>
>>
>
>>
>
>>
>
>>> I found an IDL routines name "features.pro" to measure the Equivalant Width of spectral lines. The routines work fine but gives an error in subroutines "integ.pro" at line 58 the error is
>
>>
>
>>>
>
>>
>
>>> dex = Default(dex,1.,low=dtyp)
>
>>
>
>>>
>
>>
>
>>> can someone please help me where is the syntax error is here.
>
>>
>
>>
>
>>
>
>> I doubt it is a syntax error. Rather, I suspect you don't have the
>
>>
>
>> program module Default on your IDL path.
>
>>
>
>>
>
>>
>
>> 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.")
>
>
>
> Thanks David for your reply, But be true I didn't understand what do you >mean. I have kept all these program in the right directory i.e in "/lib"
now its giving an error
"Compiled module: INTEG.
"Attempt to call undefined procedure/function: 'INTEG'."
but I have that module and also the module default
|
|
|
Re: syntax error in routine integ.pro [message #82839 is a reply to message #82838] |
Tue, 15 January 2013 06:21  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
Also, if you want to use programs that are only 15 years old rather than 25 years old, then I would download the ltools_022007.tar.gz set of programs from http://archive.stsci.edu/fuse/analysis/idl_tools.html
The program line_eqwidth.pro in that collection is a much improved version of features.pro
--Wayne
On Tuesday, January 15, 2013 8:59:06 AM UTC-5, David Fanning wrote:
> idlhelp writes:
>
>
>
>> I found an IDL routines name "features.pro" to measure the Equivalant Width of spectral lines. The routines work fine but gives an error in subroutines "integ.pro" at line 58 the error is
>
>>
>
>> dex = Default(dex,1.,low=dtyp)
>
>>
>
>> can someone please help me where is the syntax error is here.
>
>
>
> I doubt it is a syntax error. Rather, I suspect you don't have the
>
> program module Default on your IDL path.
>
>
>
> 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.")
|
|
|
Re: syntax error in routine integ.pro [message #82840 is a reply to message #82839] |
Tue, 15 January 2013 06:14  |
abc
Messages: 46 Registered: March 2011
|
Member |
|
|
On Tuesday, January 15, 2013 2:59:06 PM UTC+1, David Fanning wrote:
> idlhelp writes:
>
>
>
>> I found an IDL routines name "features.pro" to measure the Equivalant Width of spectral lines. The routines work fine but gives an error in subroutines "integ.pro" at line 58 the error is
>
>>
>
>> dex = Default(dex,1.,low=dtyp)
>
>>
>
>> can someone please help me where is the syntax error is here.
>
>
>
> I doubt it is a syntax error. Rather, I suspect you don't have the
>
> program module Default on your IDL path.
>
>
>
> 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.")
Thanks David for your reply, But be true I didn't understand what do you mean. I have kept all these program in the right directory i.e in "/lib"
|
|
|
Re: syntax error in routine integ.pro [message #82841 is a reply to message #82840] |
Tue, 15 January 2013 05:59  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
idlhelp writes:
> I found an IDL routines name "features.pro" to measure the Equivalant Width of spectral lines. The routines work fine but gives an error in subroutines "integ.pro" at line 58 the error is
>
> dex = Default(dex,1.,low=dtyp)
>
> can someone please help me where is the syntax error is here.
I doubt it is a syntax error. Rather, I suspect you don't have the
program module Default on your IDL path.
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.")
|
|
|