[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash with inline
From: |
David Bateman |
Subject: |
Re: Crash with inline |
Date: |
Thu, 16 Sep 2004 23:00:38 +0200 |
User-agent: |
Mutt/1.4.1i |
> Can you show precisely what the problem is? Here is what I see:
Err my fault... My second test function was an empty file... You're
right it works with which as well.... Which means that a script file
(not a function) in the current scope also takes precedence. That is,
if one of your foo.m contains
function y = foo ()
y = 1;
endfunction
and the other contains
1;
disp("foo");
then you get
octave:1> foo
ans = 1
octave:2> cd ..
octave:3> foo
foo
octave:4> which foo
foo is the user-defined function from the file
/home/dbateman/tmp/foo.m
octave:5> cd tmp
octave:6> which foo
foo is the user-defined function from the file
/home/dbateman/tmp/foo.m
I'd expect the first which to say
which: `foo' is the script file
/home/dbateman/foo.m
D.
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- Re: Crash with inline, (continued)
- Re: Crash with inline, John W. Eaton, 2004/09/16
- Re: Crash with inline, Teemu Ikonen, 2004/09/16
- Re: Crash with inline, David Bateman, 2004/09/16
- Re: Crash with inline, David Bateman, 2004/09/16
- Re: Crash with inline, John W. Eaton, 2004/09/16
- Re: Crash with inline, John W. Eaton, 2004/09/16
- Re: Crash with inline, David Bateman, 2004/09/16
- Re: Crash with inline, John W. Eaton, 2004/09/16
Re: Crash with inline, John W. Eaton, 2004/09/16
Re: Crash with inline,
David Bateman <=