[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differences between ' and ", syntax error (bug?)

Willam Daffer (vapuser@haifung.jpl.nasa.gov) writes:

> 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"

I wouldn't even *attempt* to persuade you of either of
these two things. But I will point out that you assign an
octal number in IDL like this:

   IDL> t = "17




David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/

Note: A copy of this article was e-mailed to the original poster.