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

Home » Public Forums » archive » Re: Variable is undefined: Actually a function
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: Variable is undefined: Actually a function [message #76819 is a reply to message #76814] Wed, 06 July 2011 20:15 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Maegereg writes:

>
> Still working on the same project as when I last posted an inquiry (the
> relevant detail would be that I did not write this code). I'm getting
> the following error at runtime:
>
> % Variable is undefined: CALCULATE_DECAY_RATE.
> % Execution halted at: PHYSIOLOGY::MTT
> % ESTIMATE_AIF_MRTM 283 ~/Developer/DCE-MRI
> ABC/MRTM/estimate_aif_mrtm.pro
> % ANALYZE_ROI_DATA_EVENT 582 ~/Developer/DCE-MRI
> ABC/ANALYSIS/analyze_roi_data.pro
> % WIDGET_PROCESS_EVENTS
> % $MAIN$
>
> I've checked through PHYSIOLOGY::MTT, and it does call the function
> CALCULATE DECAY RATE. The function is defined in
> calculate_decay_rate.pro, is the last function in that file, and the
> file is in ~/Developer/DCE-MRI ABC/OTHER_AIF/Bayesian, which is a
> subfolder of the project directory (~/Developer/DCE-MRI ABC/). I've also
> tried adding a forward function declaration to PHYSIOLOGY::MTT to no
> avail. As you might expect, manually compiling calculate_decay_rate.pro,
> and then manually compiling Physiology__Define.pro before running the
> project will make the error go away, but whenever I do a full build on
> the project the error returns. I've checked the project build order, and
> calculate_decay_rate.pro should be built before Physiology__Define.pro.
> Any help would be greatly appreciated.

I don't have time to investigate right now, but I think I ran
into a problem this week compiling a function that had a
hyphen in a directory in its path. I notice your
path has a hyphen, too. You could try putting this
program in a directory on your IDL path that didn't have
a hyphen in its name and see if that fixes the problem.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mgunit 1.2 release
Next Topic: TOTAL gives totally different result on identical array

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

Current Time: Thu Oct 09 11:07:29 PDT 2025

Total time taken to generate the page: 1.04005 seconds