[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Differences between ' and ", syntax error (bug?)
- Subject: Differences between ' and ", syntax error (bug?)
- From: Vap User <vapuser(at)haifung.jpl.nasa.gov>
- Date: 02 Nov 1998 14:31:06 -0800
- Newsgroups: comp.lang.idl-pvwave
- Organization: Jet Propulsion Laboratory - Pasadena CA
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:12610
Okay;
Can someone tell me why the following two assignment statements
shouldn't be considered equivalent (and, therefore, how this behavior
is not a bug)
The two assignemts are
1. t='0,38:42,75' and
2. t="0,38:42,75"
#1 works fine, #2 fails with a syntax error
IDL> t='0,38:42,75'
IDL> print,t
0,38:42,75
IDL> t="0,38:42,75"
t="0,38:42,75"
^
% Syntax error.
IDL>
IDL> print,!version
{ mipseb IRIX unix 5.1 Apr 13 1998}
IDL>
--
I don't speak for JPL, it doesn't speak for me.
Well, not all the time, at least.
William Daffer <vapuser@haifung.jpl.nasa.gov>