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

Home » Public Forums » archive » Another small V8.0 bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Another small V8.0 bug [message #71892] Mon, 26 July 2010 10:12 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I have found another bug in V8.0, at least for users who still have
round parenthesis used for indices lurking around in their code.
Like Mike Potter's example, it is not easily repeatable, and for
example sometimes only occurs after compile the program a second
time. And because it occurs in a fairly large program, I have not
yet isolated it into a simple test program. But I can illustrate
the problem after placing a STOP statement

% Stop encountered: SHOWDB 72 /home/landsman/uvot/bpm16274/
showdb.pro
IDL> help,list
LIST LONG = Array[1]
IDL> print,list[0]
183
IDL> print,list(0)
0
IDL> help,list(0)
<Expression> LIST <ID=22 NELEMENTS=1>
IDL> print,list(0) LE 0
% Unable to convert variable to type object reference.
% Execution halted at: SHOWDB 72 /home/landsman/uvot/
bpm16274/showdb.pro
% $MAIN$

IDL> print,!version
{ x86 linux unix linux 8.0 Jun 18 2010 32 64}

So IDL seems confused as to whether 'list' is a variable or an
object. (The code is all imperative statements with no object
syntax). Note that this differs from the long-standing variable/
function ambiguity that can occur when using the () syntax for
indexing. --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Do we need PTR_FREE anymore?
Next Topic: NSIDC Looking for Science Programmers

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

Current Time: Wed Oct 08 17:54:05 PDT 2025

Total time taken to generate the page: 0.00469 seconds