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

Home » Public Forums » archive » Differences between ' and ", syntax error (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
Differences between ' and ", syntax error (bug?) [message #13299] Mon, 02 November 1998 00:00
Vap User is currently offline  Vap User
Messages: 31
Registered: April 1998
Member
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>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Differences between ' and ", syntax error (bug?)
Next Topic: Re: HDF Data sets containg strings?

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

Current Time: Wed Oct 08 19:34:35 PDT 2025

Total time taken to generate the page: 0.00518 seconds