Re: function to convert degree (hour), minute, seconds string to integer

2006-07-27 Thread Paul McGuire
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I know this is a trivial function, and I've now spent more time > searching for a surely-already-reinvented wheel than it would take to > reinvent it again, but just in case... is there a published, > open-source, function out there that

Re: function to convert degree (hour), minute, seconds string to integer

2006-07-27 Thread John Machin
[EMAIL PROTECTED] wrote: > John Machin wrote: > > [EMAIL PROTECTED] wrote: > > > I know this is a trivial function, and I've now spent more time > > > searching for a surely-already-reinvented wheel than it would take to > > > reinvent it again, but just in case... is there a published, > > > open

Re: function to convert degree (hour), minute, seconds string to integer

2006-07-27 Thread google0
John Machin wrote: > [EMAIL PROTECTED] wrote: > > I know this is a trivial function, and I've now spent more time > > searching for a surely-already-reinvented wheel than it would take to > > reinvent it again, but just in case... is there a published, > > open-source, function out there that takes

Re: function to convert degree (hour), minute, seconds string to integer

2006-07-27 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, John Machin wrote: > You may wish to put more restrictions on the separators ... I would be > suspicious of cases where dms[2] != dms[5]. What plausible separators > are there besides ":"? Why allow alphabetics? If there's a use case for > "23h59m59s", that would have to be

Re: function to convert degree (hour), minute, seconds string to integer

2006-07-26 Thread John McMonagle
On Wed, 2006-07-26 at 20:18 -0700, John Machin wrote: > [EMAIL PROTECTED] wrote: > > I know this is a trivial function, and I've now spent more time > > searching for a surely-already-reinvented wheel than it would take to > > reinvent it again, but just in case... is there a published, > > open-so

Re: function to convert degree (hour), minute, seconds string to integer

2006-07-26 Thread John Machin
[EMAIL PROTECTED] wrote: > I know this is a trivial function, and I've now spent more time > searching for a surely-already-reinvented wheel than it would take to > reinvent it again, but just in case... is there a published, > open-source, function out there that takes a string in the form of > "h

function to convert degree (hour), minute, seconds string to integer

2006-07-26 Thread google0
I know this is a trivial function, and I've now spent more time searching for a surely-already-reinvented wheel than it would take to reinvent it again, but just in case... is there a published, open-source, function out there that takes a string in the form of "hh:mm:ss" (where hh is 00-23, mm is