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

Home » Public Forums » archive » Re: workbench filenames and program names
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: workbench filenames and program names [message #58495 is a reply to message #58493] Wed, 30 January 2008 12:52 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
elwood wrote:
>
> Probly a pretty remedial question----
>
> Often my students write a program called for tutorial1 example:
> pro tutorial1
>
> but the filename in which the program resides might be tut1.pro
>
> they can compile tut1.pro
> but when they use the workbench to RUN the program it trys to run
> a program called tut1, which of course doesnt exist.
> The program is called tutorial1
>
> Is there a way to tell workbench to run the actual program name rather
> than the filename?
> or do they need to use the commandline?
>
> I looked around on the help pages, but didnt see a quick answer to
> this question,
> I'll keep looking.
>
> Thx,
> Elisha

the proper way would be to have a program named as the filename.
Now, in your case, you can

1) compile the file and type "tutorial1" in the command line
or 2) write a small procedure called "tut1" that calls "tutorial1". Make
sure that this procedure is the last one in your file (at the bottom of
the file)

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Re-gridding Problem
Next Topic: How to catch any IDL errors?

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

Current Time: Sun Nov 30 20:31:08 PST 2025

Total time taken to generate the page: 0.31646 seconds