[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: single versus double quotes: What's the difference
From: |
Rusty Humphrey |
Subject: |
FW: single versus double quotes: What's the difference |
Date: |
Thu, 27 Aug 2009 12:23:51 -0700 |
-----Original Message-----
From: John W. Eaton [mailto:address@hidden
Sent: Thursday, August 27, 2009 6:13 AM
To: Rusty Humphrey
Cc: 'John W. Eaton'
Subject: RE: single versus double quotes: What's the difference
Please reply on the mailing list so others may comment.
Thanks,
jwe
On 26-Aug-2009, Rusty Humphrey wrote:
| Version 3.0.3
|
| Rusty Humphrey
|
| -----Original Message-----
| From: John W. Eaton [mailto:address@hidden
| Sent: Wednesday, August 26, 2009 8:55 PM
| To: Rusty Humphrey
| Cc: address@hidden
| Subject: FW: single versus double quotes: What's the difference
|
| On 26-Aug-2009, Rusty Humphrey wrote:
|
| | Follow-up. Now it's working with both single and double quotes.
Clearly,
| I
| | had something else wrong. I just wish I knew what it was. Oh well.
| |
| | And I found the reference in the manual that there is no difference
| between
| | single and double quotes for strings.
|
| What version of Octave are you using? There is a difference, for at
| least five years now. Note the difference between
|
| toascii ("\n")
| toascii ('\n')
|
| This is explained in the current version of the manual, and even the
| old version here:
|
| http://www.octave.org/doc/interpreter/Strings.html#Strings
|
| (which reminds me, the manual on the web should probably be updated to
| the version distributed with 3.2.2; I'll try to do that soon).
|
| jwe
|