Re: upper()

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 6 Aug 2006, at 8:28, Derek Parnell wrote concerning:
Re: upper()

> 
> 
> posted by: Derek Parnell <ddparnell at bigpond.com>
> 
> Kat wrote:
> > 
> > On 6 Aug 2006, at 4:41, Derek Parnell wrote concerning:
> > Re: upper()
> > 
> > > ------------------------------------------------
> > > global function toUpperObj(object s)
> > > ------------------------------------------------
> > >     if atom(s) then
> > >         return uc[s+1]
> > >     else
> > >         for i = 1 to length(s) do
> > >             if atom(s[i]) then
> > >                 s[i] = uc[s[i]+1]
> > >             else
> > >                 s[i] = toUpperObj(s[i])
> > >             end if
> > >         end for
> > >     end if
> > > end function
> > 
> > attempt to exit a function without returning a value
> > 
> > Kat,
> > still working on it......
> 
> Well I just knocked it up in a couple of minutes.. gee!!! Give some slack here
> okay! I suppose you can see the stupid error I made. And I suppose you fixed
> it
> already. I only tested the toLower function so that's why I missed it.  No one
> is forcing you to use this faster function. I just thought I'd try to help;
> sorry for interrupting you.

Oh,, well, actually, i thought there was a problem with listfilter deleteing
lines
or something. I actually went to the euforum webpage and checked there, 
and waited to see if anyone replied to your email and included your email 
with the same errors. Honestly, that *you* made an error was last on my 
mind. And i thought this was code you already had!

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu