shareware/demoware

Ken Ray kray at sonsothunder.com
Sat Feb 5 17:49:43 EST 2005


On 2/5/05 4:14 PM, "Paul Salyers" <ps1 at softseven.org> wrote:
 
> I don't know if there is a reverse command in Rev. I used to use this in VB
> 6.0.

Not built-in, but it's pretty easy to write one:

function ReverseIt pString
  put "" into tResult
  repeat for each char tChar in pString
    put tChar before char 1 of tResult
  end repeat
  return pString
end ReverseIt

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list