[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error with "end"
From: |
Daniel Heiserer |
Subject: |
Re: error with "end" |
Date: |
Wed, 15 Sep 1999 07:57:50 +0200 |
address@hidden wrote:
>
> On Wed, 15 Sep 1999, Daniel Heiserer wrote:
>
> > Write a perl script, which parses all your scripts
> > changing end to END (for later compatibility reasons)
> > and insert a line before each "end" usage defining
> > the "END":
>
> I didn't quite understand this, but I want to clarify that MATLAB uses
> 'end' and not 'END'. The MATLAB help documenation is weird in that it
> always shows commands and such in upper case even when upper case will not
> work. In MATLAB:
>
-------------------------
Write a perl script, which parses all your scripts
changing end to END (for later compatibility reasons)
^^^^^^^^^^^^^^^^^^^^^^
and insert a line before each "end" usage defining
the "END":
-------------------------
Assume the "end" would be available in 2.0.15 .
Then you would have to change all your files again, because
octave wouldn't/shouldn't allow to set "end=length(s)" then.
So in order to avoid double work in porting m-files I
use it the way that I define and "END" and use this END.
So I have no problem when an "end" build-in function
is available in octave.
---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL. To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------
- error with "end", Adam Balgach, 1999/09/14
- Re: error with "end",
Daniel Heiserer <=