Results 1 to 3 of 3

Thread: Can someone check whats wrong with this code please

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2003
    Location
    toronto
    Posts
    12

    Can someone check whats wrong with this code please

    here's is what i want to do

    i have a data in a text file in a array, i want to read the out the english words compared with the french and display the french in a text box
    words are arrange like this in the tect file
    yes,oui,
    the,le

    the found = line is where the error seem to be occuring

    Dim English, French, As String
    Dim i, where As Integer
    Dim Fword(), Eword(), As String
    Dim found As Boolean

    English = TxtEnglish.Text
    Fword = English.Split(" "c)

    For i = 0 To 30
    Do While ((Not found) And (where < rm.Length))
    found = (Eword(i)) = rm(where, 0)
    where = where + 1
    Loop
    where = where - 1
    Fword(i) = rm(where, 1)

    Next

    TxtFrench.Text = Join(Fword, " ")

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    why do all people ask us to discover the errors and doesnt even say what is the error itself......
    \m/\m/

  3. #3
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    The French...enough said!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width