Re: strReverse


[ DelphiLand FAQ ]

Posted by keith on July 13, 2004 at 05:42:28:

In Reply to: Re: strReverse posted by Joey *DClub* on July 12, 2004 at 20:48:25:

Ya I'm getting an undeclared identifer error. How would you do it with StrToInt or IntToStr ? I'm not sure what they do or what the format they have to be in.

: Well i dont't know what your trying to reverse if you get that error but, this example works.

: procedure SayHelloKeithBackwards;
: var
: S: string;
: begin
: S := ReverseString('Hello Keith');
: ShowMessage(S);
: end;

: This will output "htieK olleH" in a dialog.

: If you are getting errors with strings and stuff you may have to change the tpye of the variable or constant. Use StrToInt or IntToStr :)

: Joey ^__^

 


Related Articles and Replies:


[ DelphiLand FAQ ]