help-octave
[Top][All Lists]
Advanced

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

Re: Problem with single quotes


From: Jaroslav Hajek
Subject: Re: Problem with single quotes
Date: Thu, 2 Oct 2008 16:48:50 +0200

On Thu, Oct 2, 2008 at 4:30 PM, Andreas Yankopolus <address@hidden> wrote:
> I'm trying to write some Octave code that's compatible with Matlab.
> One of the differences is that Matlab uses single quotation marks, and
> I quickly ran into problems with Octave's handling of them. The
> following command should print a single quotation mark, but it gives a
> syntax error:
>
> printf ('\'');
>

Why do you think so? Does this work in Matlab? If yes, what version?



> I'm running Octave 3.0.0 on Ubuntu Hardy installed via the package
> manger. The same problem occurs on Octave 3.0.2 on OS X installed via
> Fink.
>
> Am I doing something wrong? Is this a bug?
>
> Thanks,
>
> Andreas
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]