[erlang-questions] help: fetching data from records at single instance

Sean Hinde <>
Mon Nov 20 17:56:41 CET 2006


On 20 Nov 2006, at 15:04, dinesh sundar wrote:

> Hi all,
>
>             I have created the record with three fields.and i have  
> update the data in all the three fields .now i need to fetch all  
> the data from the fields
>            can i fetch this data from these  fields  at single  
> instance i hav tried a lot but i could'nt do it
>
>
>           exmple:
>
>                         -record(person,{name,phone,address}).
>                         so from the above record i need to fetch  
> the name , phone and address at the single instance

#person{name = Name, phone = Phone, address = Address} = Variable

Sean






More information about the erlang-questions mailing list