15.07.2013 Views

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

fctLireStrongLSG2 - 1<br />

Public Sub LireStrongLSG2(mot)<br />

Dim ofile, lfile, ligne, strong, trouve<br />

If Right(mot, 1) = "," Then mot = Mid(mot, 1, Len(mot) - 1)<br />

If Right(mot, 1) = ":" Then mot = Mid(mot, 1, Len(mot) - 1)<br />

If Right(mot, 1) = "!" Then mot = Mid(mot, 1, Len(mot) - 1)<br />

'If Right(mot, 1) = "-" Then mot = Mid(mot, 1, Len(mot) - 1)<br />

If Right(mot, 1) = ";" Then mot = Mid(mot, 1, Len(mot) - 1)<br />

If Right(mot, 1) = "." Then mot = Mid(mot, 1, Len(mot) - 1)<br />

If Left(mot, 1) = "-" Then mot = Mid(mot, 2, Len(mot))<br />

'If Right(mot, 1) = "," Then mot = Mid(mot, 1, Len(mot) - 1)<br />

ofile = App.Path & "\tools\temp2.txt"<br />

lfile = FreeFile<br />

Open ofile For Input As #lfile<br />

trong = ""<br />

Do<br />

Line Input #lfile, ligne<br />

If InStr(1, ligne, mot) 0 Then<br />

trouve = ligne<br />

repere = InStr(1, ligne, "

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!