Beginner problem with Mnemosyne

Torbjorn Tornkvist tobbe@REDACTED
Fri Apr 9 04:43:57 CEST 1999

> I've just started playing with Mnesia, but I'm having a small problem
> with some code based on the provided examples.  On the function:

You must insert the following include directive (put it where
your other '-include'-directives are) in your company.erl program.


Then it works: 
unix> erl -mnesia_dir `pwd`
Erlang (BEAM) emulator version 47.4.1
Eshell V47.4.1  (abort with ^G)
1> mnesia:create_schema([node()]).
2> mnesia:start().
3> c(company).
4> company:init().
5> company:insert_me().
6> company:get_me().

Cheers /Tobbe

More information about the erlang-questions mailing list