[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Corruption of string variable in IDL V5.3
- Subject: Re: Corruption of string variable in IDL V5.3
- From: landsman(at)my-deja.com
- Date: Sun, 12 Mar 2000 22:54:19 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: Deja.com - Before you buy.
- References: <8aeg4k$sjf$1@nnrp1.deja.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:18896
In article <8aeg4k$sjf$1@nnrp1.deja.com>,
landsman@my-deja.com wrote:
> I like the upgrade of the STRMID function in IDL V5.3 so that it can
now
> handle vector arguments. But the following code shows how in certain
> cases, STRMID can also now corrupt a string variable:
I just received a note from RSI saying that the bug causing the
corruption of the string variable has nothing to do with STRMID, but
rather in the way that IDL allows one to store into a scalar string as
if it were an array. This bug has probably existed for many years,
but only reveals itself in unusual circumstances, which my STRMID
example happened to create. A fix has been checked in for V5.4.
--Wayne Landsman landsman@mpb.gsfc.nasa.gov
Sent via Deja.com http://www.deja.com/
Before you buy.