| Re: run .sav file with -args [message #73632 is a reply to message #73511] |
Mon, 15 November 2010 19:03   |
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
|
|
|
|