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

Home » Public Forums » archive » Compiling error in Envi batch mode
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: Compiling error in Envi batch mode [message #57621 is a reply to message #57532] Fri, 14 December 2007 09:57 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Jenny wrote:
> Hi, I'm running an idl programm in Envi batch mode. I used the "envi,/
> restore_base_save_files" in the beginning of the programm, however, I
> sometimes got compiling errors about the Envi functions used in the
> programm. I did use [ ] instead of ( ) for my arrays, why I'm getting
> this compiling error? Do I have to use Forward_function for all of the
> Envi functions?
>
> Any ideas how to avoid this?
>
> Thanks,
> Jenny

Just in case... do you have this at the top of your function:
compile_opt idl2
envi, /restore_base_save_files
envi_batch_init
Using [] for arrays IS the good thing to do... you might have problem if
you use (), not the contrary!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Matrix rank
Next Topic: Time Arithmetic

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

Current Time: Sun Oct 12 00:27:25 PDT 2025

Total time taken to generate the page: 1.52224 seconds