with char arrays, it could be:
ispalindrome := true;
for i := 0 to arr.length /2 do
ispalindrome := ispalindrome and (arr[i] == arr[arr.length - i]);
just take the same principle with memory addresses, but bear in mind that only works if the word has an even number of characters.
MattEvans
Veteran Poster
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64