Re: Pass-By-Reference question. [message #38470] |
Thu, 11 March 2004 12:07  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Christopher Lee wrote:
>
> plot, findgen(10),nodata=0, _EXTRA={nodata:1}
> plot, findgen(10), nodata=1, _EXTRA={nodata:0}
>
> both produce the same result.
>
> contour, dist(100),/follow, /downhill, _EXTRA={follow:0,downhill:0}
> contour, dist(100),follow=0, downhill=0, _EXTRA{=follow:1,downhill:1}
>
> and again...
>
> help, make_array(dimension=[2],value=0.0,double=1,_EXTRA={double:0 })
> <Expression> DOUBLE = Array[2]
> IDL> help, make_array(dimension=[2],value=0.0,double=0,_EXTRA={double:1 })
> <Expression> DOUBLE = Array[2]
Nice work. These occur in 6.0 and 5.6, which are the only versions I have.
It's a bug. Who's going to report it?
--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|