Home »
Public Forums »
archive »
Strange IDL string bug
Strange IDL string bug [message #4821] |
Wed, 09 August 1995 00:00 |
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
|
|
|
Current Time: Wed Oct 08 20:04:23 PDT 2025
Total time taken to generate the page: 0.01882 seconds