sae, io:format(), undefined

Bengt Kleberg eleberg@REDACTED
Tue Jun 12 13:38:57 CEST 2001


When creating a sae program doing io:format("hello, world") I get an
error message when running:
undef[{ io, format, 2}, ...

The supplied example hello.erl program works. It uses erlang:display()
instead of io:format(). Should I have added the io module to elink?
Just doing
elink -o hello -m hello io -s hello get_args
does not work.

Moreover, my original 'hello, world' program had a 0 arity entry
function. This was not allowed by elink. Perhaps the argument of the
entry function (it is a list, isn't it?) should be documented?

Best Wishes,
Bengt Kleberg

More information about the erlang-questions mailing list