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

Home » Public Forums » archive » Re: Running an IDL Project
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: Running an IDL Project [message #40493 is a reply to message #40489] Mon, 09 August 2004 21:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Edwin writes:

> The problem is I don't seem to be able to run the project. I will
> describe below how I create the project, and maybe someone can tell me
> what i'm doing wrong.
>
> I click on File > New > Project
>
> I enter a name for the project, say "Project.prj"
>
> A Project Workspace pops up titled "project.prj" with folders Source,
> GUI, Data, Images, and Other
>
> I go to Project > Add/Remove Files and I add all the files which I
> previously had to open one by one. All these files are .pro files (one
> main.pro as the main program that calls all the other procedure
> files). All of them are put into the "Source folder" of my project
> workspace.
>
> I go to Project > Compile > All Files
>
> All the files are compiled successfully.
>
> I then go to Project > Run , and I get the following error message:
>
> % Attempt to call undefined procedure/function: 'Project'.
> % Execution halted at: $MAIN$ 1
> C:\IDL\SPE_Examiner\main.pro
>
> main.pro is my main program that calls all the other procedures.
>
> Apparently IDL thinks that my project named "Project" is a
> function/procedure???

Go to the Project->Options menu item. Where it says "Run
Command" type in "main". There you go! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDLWAVE environment variables
Next Topic: Combining subimage data to corresponding X and Y location

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

Current Time: Sun Oct 12 05:36:40 PDT 2025

Total time taken to generate the page: 1.21923 seconds