help-octave
[Top][All Lists]
Advanced

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

Re: Some failed tests in Octave 3.3.53


From: Kim Hansen
Subject: Re: Some failed tests in Octave 3.3.53
Date: Thu, 4 Nov 2010 18:24:50 +0100

2010/11/4 José Luis García Pallero <address@hidden>:

> Other thing. When I start with ./run-octave a warning related with my
> .octaverc appears:
>
> warning: /home/topo/.octaverc: possible Matlab-style short-circuit
> operator at line 117, column 30
>
> In line 117 of my octaverc says
>
> if strcmp(PAGER(),'less')&isempty(getenv('LESS'))
>        PAGER_FLAGS(['-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, ',...
>                     '(q)uit$"']);
> end
>
> Is '&' not more the 'and' operator in octave? With current 3.2.4
> varsion no warning appears.

& is the "by element and", you want the "logical and" &&.

-- 
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Phone: +45 3091 2437



reply via email to

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