From: "Jesús Gabriel y Galán" Date: 2010-11-16T03:56:01+09:00 Subject: Re: please help load from txt On Mon, Nov 15, 2010 at 7:47 PM, Lark Work wrote: > thanks for your help, but i got that already i don't think you quit > understand me Sorry about that. Let's try to move forward then: > because i want to call just one line of at the time this > is how data.txt looks like I have problems understanding what you mean by "call". > hisname,lastname,callname,age > otherperson,lastname,callname,age > etc > > i wan't it to work like a a database of datas of persons and i want to > call one person at the time is that posible??? Here I don't understand what you mean by "call" and "at the time". If you want it to work like a database of persons, then you would like to load the data into a data structure that supports containing the list of persons, and querying by some key, for example, the name. Is that something that makes sense? I don't have time right now, but I'll come back later with an example of what I mean. Jesus. > > > thanks, > > > lark > > -- > Posted via http://www.ruby-forum.com/. > >