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

Home » Public Forums » archive » Re: Could you explain why this happen?
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: Could you explain why this happen? [message #70686] Thu, 29 April 2010 03:57 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
David Fanning wrote:
> An IDL start-up file is simply a text file containing
> IDL commands of the sort you would type at the IDL
> command line. You point to it via an environment
> variable named IDL_STARTUP.

Note however, that COMPILE_OPT only affects the local scope, i.e. you have
to put it into every procedure and function definition, not just into the
startup file, or you will be wondering if the sky is falling. Example:

IDL Version 6.4 (linux x86 m32). (c) 2007, ITT Visual Information Solutions
IDL> print, 32000*6
-4608
IDL> compile_opt defint32
IDL> print, 32000*6
192000
IDL> .comp
- pro test
- print, 32000*6
- end
% Compiled module: TEST.
IDL> test
-4608
IDL> print, 32000*6
192000
IDL>


chl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to read field attributes in HDF-EOS
Next Topic: ms2gt MODIS reprojection toolkit

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

Current Time: Wed Oct 08 19:19:11 PDT 2025

Total time taken to generate the page: 0.01159 seconds