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

Home » Public Forums » archive » run .sav file with -args
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: run .sav file with -args [message #73626 is a reply to message #73511] Mon, 15 November 2010 19:59 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On 11/15/10 10:03 PM, Truong Le wrote:

>
> Hi Ben,
>
> I have successfully executed the example above in the window
> environment and
> so I set out to build a more complicated procedures that I need to
> create for
> my work. After I build my .sav file from using idlde and ran the .sav
> file
> using idlrt -vm=filename.sav -args param1 param2 ...
>
> I get the attempt to call undefined procedure/function:'filename'
> message.
> The .sav file is in the directory. Please let me know what I did
> wrong.

Hi,

I suspect that this is *not* an issue with the Virtual Machine. To get
the most useful help from the list, you should post the complete error
message - exactly as IDL prints it.

Without more info we can only guess, and my guess is that somewhere you
have a variable called "filename" that you are indexing with parentheses
instead of square brackets.

filename(i) <-- IDL might think filename is a function
filename[i] <-- an element of a variable 'filename'


But, then again, you might actually have a routine called 'filename'
that didn't get compiled and stuffed into the save file, but,
nonetheless, gets called by the code that did make it into the save file.


Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: LIST performance
Next Topic: Problems with ERODE and DILATE functions

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

Current Time: Wed Oct 08 17:48:53 PDT 2025

Total time taken to generate the page: 0.00410 seconds