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

Home » Public Forums » archive » running main file from batch script ... in a loop
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: running main file from batch script ... in a loop [message #87680 is a reply to message #87678] Sat, 22 February 2014 08:33 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
There are a lot of problems with your simple example. One of them -- from the online help:

"Note: .RUN is an executive command. Executive commands can only be used at the IDL command prompt, not in programs."

Does something like the following work?

for i=0, 10 do yourProgram


If not, you would need to post more details about your batch script and your main program. They each have their own syntax.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL reading tiff files
Next Topic: IDL license file

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

Current Time: Sat Nov 29 13:37:59 PST 2025

Total time taken to generate the page: 1.04442 seconds