help-octave
[Top][All Lists]
Advanced

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

Re: doubt in char


From: Robert A. Macy
Subject: Re: doubt in char
Date: Wed, 10 Aug 2005 07:14:33 -0700

Makes sense, but

>> which char.m

returns the same file I sent the copy of.  

I didn't find a different one.  

Just curious...which filename is not as intuitive as where
filename.  Is this a carry over from Matlab compatibility?

          - Robert -



On Wed, 10 Aug 2005 09:07:18 -0500
 Quentin Spencer <address@hidden> wrote:
> Robert A. Macy wrote:
> 
> >Jorge Barros de Abreu <address@hidden> wrote:
> >  
> >
> >>Where do I get char.m file??
> >>    
> >>
> >Should have come with the install.
> >  
> >
> 
> Actually, this is kind of strange. "help char" says char
> is a built-in function (version 2.1.71). On the other
> hand, there is a char.m as you pointed out, which is part
> of octave-forge. Since built-in functions take precedence
> over other functions, I don't think the char.m file is
> ever actually used. The apparently truncated help text
> that Jorge was referring to appears to actually be in the
> octave source code in src/strfns.cc. As far as I can
> tell, it looks like char.m can be removed from
> octave-forge because it was probably put there before
> char became a builtin function.
> 
> For future reference, if you want to find the location of
> a system file, try the "which" command: "which char.m"
> tells you eactly where it is.
> 
> -Quentin
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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