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

Home » Public Forums » archive » Re: passing parameters to .sav file in IDL VM
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: passing parameters to .sav file in IDL VM [message #68064 is a reply to message #68055] Mon, 21 September 2009 07:24 Go to previous messageGo to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
> You may be right. I can't get the Windows version to pick up
> command arguments in the VM either. Have you talked to ITTVIS
> support?

Works for me in version 7.1 on Windows...

pro test_vm_args
cla=command_line_args(count=count)
null=dialog_message([string(count),cla],/information)
end

IDL> save,/routines,file="D:\mydocs\tmp\test_vm_args.sav"

C:\Program Files\ITT\IDL71\bin\bin.x86>idlrt -vm="D:\mydocs\tmp
\test_vm_args.sav" -args "fred" "bert" "alf"

I see all three strings in the window.

regards,
Greg
[Message index]
 
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: Breakpoints Missing in IDL 7.1?
Next Topic: Re: Sorting (big) int array: Eliminate for loop

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

Current Time: Wed Oct 08 17:25:02 PDT 2025

Total time taken to generate the page: 0.00438 seconds