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

Home » Public Forums » archive » IDE internal error
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: IDE internal error [message #92719 is a reply to message #92717] Tue, 16 February 2016 12:16 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Tuesday, 16 February 2016 09:10:58 UTC-8, greg...@googlemail.com wrote:
> IDL Version 8.4, Microsoft Windows (Win32 x86_64 m64).
>
>
>
> Here's a weird one. Enter:
>
> IDL> s=['','','','','']
> IDL> a=strjoin(s)
>
> then click on 'A' in the 'Variables' window of the IDE. It pops up a window saying -
>
> An internal error occurred during: "compute variable details".
> For input string: "65.6943"
>
> But if you reset and delete the last element of s:
>
> IDL> s=['','','','']
> IDL> a=strjoin(s)
>
> everything works as it should.
>
>
> With 5 elements, this produces the same error:
>
> IDL> s=['','','','','3']
>
>
> but this doesn't:
>
> IDL> s=['','','','3','3']
>
>
> What's going on here?
> Greg

That is indeed strange. I see the same thing with "IDL Version 8.5.1, Microsoft Windows (Win32 x86 m32)."

You can make the test even simpler:

IDL> a=''
; works fine

IDL> a=' '
; even adding a blank causes failure in variable inspector

These strings cause errors reporting the number I mark below (view this with a fixed-width font... and with a width > 80!):

IDL> a='11.1111,22.2222] '
IDL> ; ^^^^^^^
IDL> a=' '
IDL> ; ^^^^^^^
IDL> a='111.1111,22.2222]333.3333,44.4444] '
IDL> ; ^^^^^^^
IDL> c='123456789012345678901234567890123456789012345678901234567 8901234567890'
IDL> ; OK!

This caused a different error:
IDL> c='[12345678901234567890123456789012345678901234567890123456 78901234567890'
IDL> ;An internal error occurred during: "compute variable details".
IDL> ;String index out of range: -1
IDL> c='123456789012345678901234567890123456789012345678901234567 8901234567890'
IDL> ; OK!
IDL> c='123456789012345678901234567890123456789012345678901234567 8901234567['
IDL> ; OK
IDL> c='123456789012345678901234567890123456789012345678901234567 89012345678['
IDL> ; String index out of range: -1

IDL> c='[12345][6789012345678901234567890123456789012345678901234 56789012345678'
IDL> ; displays value as: "null"!

If you file a bug report, I'll bet it will get fixed. Very curious.

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Dimension Keywords
Next Topic: Connect STK and IDL ?

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

Current Time: Wed Oct 08 17:32:48 PDT 2025

Total time taken to generate the page: 0.00243 seconds