Re: meaning of 'none' in the shell
Yao Bao <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
The return value of usrdb:init/0 is none. In this case, none is an atom, and it is the value of the last expression of the function usrdb:init/0. Cheers, Yao > 在 2020年12月1日,10:42,Peter J Etheridge <[email protected]> 写道: > > > Dear Fellow Erlangers, > > This module used to run. I have broken it somehow. > > Now I get; > > >mnesia:delete_schema([node()]). > ok > >mnesia:create_schema([node()]). > ok > >mnesia:start(). > ok > >c(usrdb). > {ok,usrdb} > >usrdb:init(). > none > > > > What does 'none' mean in the shell? > > Where should i be looking for my error? > > Thank you in advance. > > Happy programming to all, > Peter > >