[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More New Functions: findfigs.m, isfloat.m, genvarname.m
From: |
Robert Platt |
Subject: |
Re: More New Functions: findfigs.m, isfloat.m, genvarname.m |
Date: |
Thu, 13 Mar 2008 14:22:30 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071120) |
Sorry for not replying sooner, I was away on a course.
The version submitted by Bill assumes that the input strings are already
valid. e.g.:
genvarname('4example', '4example')
==> 4example1 --- invalid variable name
compared this to '_4example', which is generated by the other version.
Guaranteeing the variable names generated is an important feature of the
Matlab genvarname function. Are you happy to submit the other version of
genvarname, Bill?
Rob
John W. Eaton wrote:
> On 10-Mar-2008, Bill Denney wrote:
>
> | Attached are three new functions. Essentially now I'm just going
> | through the list of functions in matlab that are missing in octave and
> | writing the low hanging fruit.
>
> | # HG changeset patch
> | # User address@hidden
> | # Date 1205199789 14400
> | # Node ID a04d848ac6c371575205cbc130ed75035f2e9e4b
> | # Parent 2e72daff62ba3d194850fff4e519d23a464c45e0
> | genvarname.m, isfloat.m, findfigs.m: new functions
>
> | +++ b/scripts/general/genvarname.m Mon Mar 10 21:43:09 2008 -0400
>
> Another genvarname was just submitted. See
>
> https://www.cae.wisc.edu/pipermail/bug-octave/2008-March/005368.html
>
>
<snip>
> Will you and Robert please reconcile your versions and submit a single
> function?
>
> Also, when you add new .m files, they need to be listed in the
> Makefile.in files where you add them. It helps if that change is
> included in your patch.
>
> Thanks,
>
> jwe
>
>
- Re: Q: Low hanging fruit?, (continued)
- Re: Q: Low hanging fruit?, Bill Denney, 2008/03/16
- Re: Q: Low hanging fruit?, David Bateman, 2008/03/16
- Re: Q: Low hanging fruit?, Ben Abbott, 2008/03/16
- Re: Q: Low hanging fruit?, Bill Denney, 2008/03/16
- Re: Q: Low hanging fruit?, Søren Hauberg, 2008/03/17
- Re: Q: Low hanging fruit?, Bill Denney, 2008/03/17
- Re: Q: Low hanging fruit?, Jaroslav Hajek, 2008/03/17
Re: Q: Low hanging fruit?, Bill Denney, 2008/03/25
More New Functions: findfigs.m, isfloat.m, genvarname.m, John W. Eaton, 2008/03/10
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m,
Robert Platt <=
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, Bill Denney, 2008/03/15
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, Robert Platt, 2008/03/17
- Re: More New Functions: findfigs.m, isfloat.m, genvarname.m, John W. Eaton, 2008/03/27