Multi-line comments in Erlang

Zvi <>
Tue Dec 7 16:32:00 CET 2010


Hi,

Matlab/Octave has single line comments, like Erlang (i.e. starting
with '%' sign). But it also have multi-line comments, like for
example:

%{
this is example
of multi-line
comments in Matlab
%}

which is equivalent to:

%this is example
%of multi-line
%comments in Matlab

How difficult is to add comments like this to Erlang?

Thanks,
Zvi


More information about the erlang-questions mailing list