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.

fctDicoNomsCommunsetPropres - 1<br />

Public Function DicoNomsCommunsetPropres(mot) As String<br />

Dim diconc$, diconp$<br />

Dim ofile<br />

Dim texte$<br />

Dim result$, recherche$<br />

diconc = App.Path & "modules\dictionnaires\dicosfr\diconc.txt"<br />

diconp = App.Path & "modules\dictionnaires\dicosfr\diconp.txt"<br />

lfile = FreeFile<br />

result = ""<br />

recherche = mot & " /"<br />

Open diconc For Input As #lfile<br />

o<br />

Input #lfile, texte<br />

If Mid(texte, 1, Len(recherche)) = recherche Then<br />

End If<br />

result = texte<br />

oop While Not EOF(lfile)<br />

sgBox result<br />

nd Function

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

Saved successfully!

Ooh no, something went wrong!