Re: upper()

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

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......
> 
> 

Give a look to my Obj_upper(object x).. the routine is complete and works.
You can just copy/paste and run my sample, that is complete and expressly 
made.

antonio

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

Search



Quick Links

User menu

Not signed in.

Misc Menu