Problem with single quotes

Sergei Steshenko sergstesh at yahoo.com
Thu Oct 2 19:55:55 CDT 2008




--- On Thu, 10/2/08, Francesco Potorti` <Potorti at isti.cnr.it> wrote:

> From: Francesco Potorti` <Potorti at isti.cnr.it>
> Subject: Re: Problem with single quotes
> To: "Andreas Yankopolus" <andreas at yank.to>
> Cc: "Octave-ML" <help-octave at octave.org>, "John W. Eaton" <jwe at bevo.che.wisc.edu>
> Date: Thursday, October 2, 2008, 9:59 AM
> >> | >  fprintf ('''')
> >> |
> >> | I did not know that. That statement prints a
> double quote in Octave.
> >>
> >> No, it should print a single ' character, same
> as Matlab.
> >
> >I can only report what I see. I've tried it on
> Octave 3.0.2 (OS X) and  
> >Octave 3.0.0 (Ubuntu Hardy). Both give me a double
> quote.
> 
> That's very strange.  Here is what I get on Octave
> 3.0.1 on Debian:
> 
> octave> fprintf ('''')
> 'octave> fprintf('''')
> 'octave> 
> octave>
> 
> Would you copy and paste what you obtain?
> _______________________________________________
> Help-octave mailing list
> Help-octave at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

On 3.0.2:

"
octave:1> fprintf ('''')
'octave:2>   
"

- so, I see a single single quote. Self-built 'octave' on SUSE 10.3.

Regards,
  Sergei.


      


More information about the Help-octave mailing list