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
running main file from batch script ... in a loop [message #87678] Sat, 22 February 2014 08:17 Go to previous message
antonella.garzilli is currently offline  antonella.garzilli
Messages: 2
Registered: February 2014
Junior Member
I was trying to run a main file from within a batch script. I have run it simply from the file, and it works, but if I try to call it from within a loop cycle I get a syntax error.

I do something like this:

n=10
for i=0, n do begin $
& .run main.pro $
& endfor


and main.pro can be something as easy as this:

print, 'hello'
end
[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: Wed Oct 08 16:16:18 PDT 2025

Total time taken to generate the page: 0.00229 seconds