octave-maintainers
[Top][All Lists]
Advanced

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

Re: More New Functions: findfigs.m, isfloat.m, genvarname.m


From: John W. Eaton
Subject: Re: More New Functions: findfigs.m, isfloat.m, genvarname.m
Date: Thu, 27 Mar 2008 15:00:15 -0400

On 15-Mar-2008, Bill Denney wrote:

| Robert Platt wrote:
| > 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
| Hi Rob and John,
| 
| Rob, your version of genvarname.m will be significantly slower due to 
| the use of sub-functions and regexp.  I incorporated all the features of 
| your version (and your tests and documentation) into the version I 
| created.  What do you think of the attached version?
| 
| Have a good day,

I applied this changeset.

Thanks,

jwe


reply via email to

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