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 #73632 is a reply to message #73511] Mon, 15 November 2010 19:03 Go to previous messageGo to previous message
Truong Le is currently offline  Truong Le
Messages: 42
Registered: September 2010
Member
On Nov 15, 8:45 pm, Truong Le <truong...@gmail.com> wrote:
> On Nov 15, 7:16 pm, Truong Le <truong...@gmail.com> wrote:
>
>
>
>> On Nov 15, 6:24 pm, Ben Tupper <ben.bigh...@gmail.com> wrote:
>
>>> On 11/15/10 5:42 PM, Truong Le wrote:
>
>>>> On Nov 15, 3:31 pm, Truong Le<truong...@gmail.com>  wrote:
>
>>>> what do I need to modify to run the .sav file from the window
>>>> environment.
>>>> I know that window doesn't run idl but idlde so any help is
>>>> appreciated.
>
>>>> Thanks
>
>>> Hi,
>
>>> Look at the online docs for "Command Line Options for IDL Startup" (in
>>> IDL 7 help it is buried in "IDL Users' Guides > Using IDL > Introducing
>>> IDL") - scroll to the bottom for Windows specific info regarding this.
>
>>> Cheers,
>>> Ben
>
>> Okay, I ran the above example from the window command line but it
>> doesn't print the expected
>> result. It ran through the process that I seen when I ran it under
>> unix. Under the unix I seen the
>> words Hello and World printed out but not when I ran under the window
>> environment. It didn't give
>> any error message so I am at a lost.
>
>> idlrt -vm=cmd_args.sav -args Hello World
>
> okay, I find out that print, var won't work in the virtual machine
> under windows. I have to use printf.

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.

Thanks
[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: Sun Nov 30 14:54:03 PST 2025

Total time taken to generate the page: 0.08062 seconds