[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Variables: defining and using

> 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")

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


Stein Vidar