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

Home » Public Forums » archive » IDL 8.0 questions
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: IDL 8.0 questions [message #71882 is a reply to message #71829] Mon, 26 July 2010 11:47 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Jul 26, 9:57 am, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jul 25, 4:11 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>> Maybe el is getting one of its metadata fields wrong when it is
>> created?
>
> I was curious about this, so I checked what flags were being set in a
> foreach element variable. I found that when just the loop is used, the
> variable has no flags. When a print is used inside the loop, the print
> call sets the IDL_V_DYNAMIC flag. Which, I thought should have been
> always set, as the element is a string.

Hi Paulo,

Let me echo David's comment about "good detective work!". This is
exactly what was happening. We had a bug in the foreach code where for
strings it was not setting the IDL_V_DYNAMIC flag. Inside STRMID,
since the DYNAMIC flag wasn't set, it didn't bother to make a copy of
the input variable but instead just wrote over the contents. This will
be fixed in the next available IDL update.

As far as Mike Potter's other problems:
1. The confusing "file is out of sync" issue - this is a known quirk.
For now, you just need to wait for IDL to present the dialog about
replacing the contents.
2. The problem where IDL "loses it's way" and stops printing output -
this is also a known bug and has been fixed in the next IDL update.

Thanks for finding these issues, and let us know if you see anything
else that isn't working.

Cheers,
Chris Torrence
IDL Software Development Manager
ITTVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: arbitrary precision in IDL?
Next Topic: Displaying a 32 bit image with IDL

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

Current Time: Sat Oct 11 21:27:17 PDT 2025

Total time taken to generate the page: 1.84231 seconds