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

Home » Public Forums » archive » Help needed on calling an IDL procedure from the Linux command line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Help needed on calling an IDL procedure from the Linux command line [message #45268] Wed, 24 August 2005 13:59 Go to previous message
Sanjay[1] is currently offline  Sanjay[1]
Messages: 1
Registered: August 2005
Junior Member
Hello all,

I have a question regarding calling IDL from a Linux command line. By
testing this out directly, I know that an IDL code can indeed be called
from the command line, e.g.:

$ idl test.pro

However, my limited experience indicates that this is not entirely
successful if "test" is a procedure, i.e. if it starts with the line:

PRO test, input

In this case I get the following error: "Programs can't be compiled
from a single statement mode". However, it seems not to matter too much
(at least for my purposes), since IDL keeps going onto the next line
anyway. But I don't know how to send the necessary variable "input" in
this case.

So I was wondering: is it possible to pass input variables via a
command line call? Can these be provided directly, or via an input
file? I contacted David Fanning, and he suggested that this group would
be a good source of information on this topic. Any help or information
that you have on this would be greatly appreciated.

Take care,
Sanjay
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: postscript component selection
Next Topic: Re: Constrained Optimization routine

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

Current Time: Wed Oct 08 18:18:08 PDT 2025

Total time taken to generate the page: 0.00368 seconds