dirty mnesia function
Tue Sep 24 09:13:59 CEST 2002
~w doesn't print strings as strings. It prints them as a list of integers.
From: Sebastian Strollo [mailto:]
Francesco Cesarini <> writes:
> Try binding your result to a variable and print it out. For example
> > RecordList = mnesia:dirty_match_object(piuTable,
> > io:format("~p~n",[RecordList]).
I think ~p is actually what is doing the "pretty printing" including
adding |... when the data is too deep (see io_lib:print). If you want
to print a term completely use ~w.
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.
More information about the erlang-questions