[erlang-questions] Newbie question: function include/1 undefined

Donald Steven <>
Fri Sep 30 15:25:49 CEST 2016

Hi all,

I can get '-include(' to work before the main() function, but I can't 
get it to work *in* a function, either using a comma or a period at end.


This works (before main()):


but neither of these work:

main() ->



Thanks for your help.


More information about the erlang-questions mailing list