help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.0.1 available for ftp


From: Michael Goffioul
Subject: Re: Octave 3.0.1 available for ftp
Date: Thu, 24 Apr 2008 11:59:56 +0200

On Thu, Apr 24, 2008 at 11:53 AM, Tatsuro MATSUOKA
<address@hidden> wrote:
>  octave.exe:1> charset = setstr (0:127);
>  warning: setstr is obsolete and will be removed from a future version of 
> Octave; please use char
>  instead
>  octave.exe:2> result (33:127) = 1;
>  octave.exe:3> ispc ()
>  ans =  1
>  octave.exe:4>  ! isunix ()
>  ans =  1
>  octave.exe:5> isprint (charset(1:10))
>  ans =
>
>    0   0   0   0   0   0   0   0   0   0
>
>  ispc () and  ! isunix ()
>  works correctly
>
>  For cygwin,
>  octave:3>  ! isunix ()
>  ans = 0
>
>
>  For mingw,
>
>  if (ispc () && ! isunix ())
>     result(10) = 1;
>  endif
>
>  the above should not be applied.
>  How can I get "i686-pc-mingw32" in octave script.

octave_config_info('canonical_host_type');

Michael.


reply via email to

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