[erlang-questions] file:script/1 and -include
Peter Steiner
pst@REDACTED
Sat Apr 14 00:25:44 CEST 2007
hi,
using -include in a file evaluated with file:script/1 fails with the
error message:
{undef,[{erl_eval,include,1},{erl_eval,expr,3}]}
the evaluated file is:
1 -include("defs.hrl").
2
3 [
4 ].
does the error indicate that -include not available for file:script/1
evaluated code? if so, is there a function like file:script that
evaluates a string instead of file content?
thanks for any hints!
regards,
peter.
More information about the erlang-questions
mailing list