I have a script like this in a bash shell script idl << end_of_commands print, 1 print, 2 ... print, 1000 end_of_commands And it works fine. Then I rewrote it to have this form: idl << end_of_commands for i=1,1000 do begin print,i endfor end_of_commands And when I run it IDL says: endfor ^ % Syntax error. Thank you.
|