|
-
Sep 27th, 2000, 11:25 AM
#1
Thread Starter
Junior Member
Could someone explain this code line by line and explain how to create a form.
Dim intPosition As Integer
Dim strText As String
Dim strResult As String
strText = txtInput.Text
While intPosition =< Len(strText)
intPosition = intPosition + 1
strResult = Mid(strText, intPosition, 1) & strResult
Wend
If strResult = strText Then
MsgBox "The string is a palindrome!"
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|