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

Home » Public Forums » archive » System Variables: defining and using
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: System Variables: defining and using [message #11723 is a reply to message #11594] Sun, 03 May 1998 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
> Apparently IDL
> requires the system variable to be defined at compile time.

Yes, that's right. Which means they should preferably be defined
in the IDL_STARTUP file. There is one way of getting around this,
though. In your case, write

dummy = execute("endian = !little_endian")
return,endian

instead of simply return,!little_endian. This will allow your
routine to compile, and define the system variable before it's
used.

Regards,

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 32bit signed integer problems
Next Topic: Reinventing the IDL wheel: 2D Object Graphics plots

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

Current Time: Sat Oct 11 12:29:55 PDT 2025

Total time taken to generate the page: 0.07922 seconds