Re: Another small V8.0 bug [message #71887 is a reply to message #71886] |
Mon, 26 July 2010 11:11   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Jul 26, 3:04 pm, wlandsman <wlands...@gmail.com> wrote:
> OK, I've partially isolated the problem into a 3 line program.
> Unfortunately, the first line is a call to a fairly long programhttp://idlastro.gsfc.nasa.gov/ftp/pro/database/dbopen .proso there is
> a lot more isolation required (and I am done with this for the
> day).
>
> pro test
> dbopen,'bpm16274'
> list = [124]
> if list(0) LE 125 then print,'Good value'
The problem is that this line is comparing a list (an object, created
on this line, which contains the single value 0) with 125. It is just
the confusion between using the array called list, and the function
list().
Maybe I am missing something, but I do not see a bug, I see the old
function/array problem, which manifested because IDL 8 happened to
have a new builtin function with the same name as the array that was
being used.
|
|
|