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

Home » Public Forums » archive » Strange IDL string bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange IDL string bug [message #4821] Wed, 09 August 1995 00:00
Justin Baker is currently offline  Justin Baker
Messages: 16
Registered: May 1995
Junior Member
I have discovered an unusual bug with IDL strings (IDL V4.0) and was wondering
if anyone else has seen it.

The IDL User's Guide says strings can be delimied with either a ' or "
character. I was trying to use this method to include quotes in my string
variables. e.g

IDL> arr_str = "arr = ['a','b','c']"
IDL> result = execute(arr_str)

I quickly discovered that there seems to be a problem with " quoted strings if
they start with a digit.

IDL> ok_string='12345'
IDL> bad_sting="678910" ^
% Syntax error.

Can anyone shed any light on this problem ?




--
Justin Baker
Bureau of Meteorology
Australia
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Strange IDL string bug
Next Topic: 2D DFT Detrending Algorithms [?]

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

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

Total time taken to generate the page: 0.00332 seconds