Hello All,

I've got a question about FileIO.

I have 2 fields. 
The first called "articles" is a list with some colors.
Red
Orange
Yellow
Green
etc...
The second is called "contenu".
A text file called (description.txt) is on my hard disk.
By clicking on a red color, i have the description about that color. The
code bellow works only with the first line.
*******************************************
on mouseUp
  set texte = new(xtra "FileIo")
  set chemin  = "@//helpdesk/textes/description.txt"
  openFile (texte,chemin,1)
  put readLine (texte) into field "contenu"
end
*******************************************
How by clicking on the second color "Orange" can i have the description
about that color, how to read the secon line.

Thank for the Help

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to