Off the top of my head, isn't it as simple as passing a pointer to the
string to something like this (assuming they're all single byte
characters)...
void MyStringReverse(char *s)
{
long iLo,iHi;
char cSwap;
iLo=0;
iHi=StrLen(s)-1;
while(iHi>iLo)
{
cSwap=s[iLo];
s[iLo]=s[iHi];
s[iHi]=cSwap;
iLo++;
iHi--;
}
}
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palm Dev
Sent: 02 March 2005 14:37
To: Palm Developer Forum
Subject: Re: "Reverse" Function
it is not implemented, at least in the release which im using
(codewarrior 9.3 with Palm SDK 5).
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/