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

Home » Public Forums » archive » Re: Problem with compiling ENVI-BATCH routine
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: Problem with compiling ENVI-BATCH routine [message #51179 is a reply to message #51176] Wed, 08 November 2006 06:50 Go to previous messageGo to previous message
Josip Krizan is currently offline  Josip Krizan
Messages: 5
Registered: November 2006
Junior Member
On Wed, 8 Nov 2006 07:04:50 -0700, David Fanning wrote:

> Josip Krizan writes:
>
>> I have write some procedure :
>>
>> PRO, Something
>>
>> compile_opt IDL2
>> envi, /restore_base_save_files
>> envi_batch_init, log_file='batch_log.txt'
>>
>> ;open some file
>> ENVI_OPEN_FILE, inImage, R_FID=fidImg
>> ....
>> envi_batch_exit
>> END
>>
>> Compiling of this procedure throws syntax error on all lines with
>> ENVI_GETMAP_INFO and ENVI_GET_DATA.
>> Solution is to run command: 'envi, /restore_base_save_files' first, and
>> then compiling is done without errors.
>>
>> Does anybody has any idea about this?
>
> You do not have ENVI source files, so no files that can
> be "compiled". ENVI is distributed as IDL "save" files.
> In other words, the ENVI routines are distributed as
> already-compiled routines. But to access them, you have
> to bring them into the IDL "procedure space". You do this
> by "restoring" the IDL save files. This is the purpose
> of the 'envi, /restore_base_save_files' command.
>
> Cheers,
>
> David

I thought so, but why then I can access ENVI_OPEN_FILE, ENVI_DOIT, .... and
others?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Concatenate arrays of different dimensions
Next Topic: Re: iTools: lines too thick to publish?

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

Current Time: Sat Oct 11 08:05:15 PDT 2025

Total time taken to generate the page: 0.56034 seconds