On Sat, Apr 4, 2009 at 4:06 AM, Steve Davis <> wrote: > 2>{ok, B} = file:consult("fun.term"). > ** exception error: no match of right hand side value > {error,{2,erl_parse,"bad term"}} Try using file:script.