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

Home » Public Forums » archive » Re: simple .sav doesn't work
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: simple .sav doesn't work [message #63900 is a reply to message #63892] Fri, 21 November 2008 07:26 Go to previous messageGo to previous message
loebasboy is currently offline  loebasboy
Messages: 26
Registered: August 2008
Junior Member
On 21 nov, 16:22, loebasboy <stijn....@gmail.com> wrote:
> Hello,
>
> at first I wanted to try out the command line arguments of the idl
> virtual machine in combination with a simple summation program, just
> to test it out...
>
> PRO test_sav
>
> cla = command_line_args(count = count)
> a = cla[0]
> b = cla[1]
>
> c = a + b
> header = string(c)
> file = filepath('test.txt', root_dir='d:')
>   OpenW, lun3, file, /Get_Lun
>      PrintF, lun3, header
>   Free_Lun, lun3
>
> END

Sorry for the half message but I hit tab and space too soon.
To conclude, I thought the problem was with command line arguments but
when I replaced a and b with simple numbers instead of the cla
arguments and executed the .sav with virtual machine nothing happend.
If I run the program in idl with compile and run, it does what is
supposed to do. What am I doing wrong here? Sorry if this is a very
stupid question, but it is the end of the week and I'm out of
options ;)

thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to change the font size in a legend (iPlot)
Next Topic: maximum LUN

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

Current Time: Sun Oct 12 07:14:40 PDT 2025

Total time taken to generate the page: 0.62399 seconds