Something that I forgot in my last reply was that there is an infix operator "++" which can be used instead of append/2, so, for example, the expressions: File = lists:append(Name, ".erl") you and File = Name ++ ".erl", are equivalent. /Joe