[erlang-questions] Other constants likes ?MODULE

Zoltan Lajos Kis kiszl@REDACTED
Sun Nov 22 12:32:28 CET 2009


Hi Zabrane,

You can find the available predefined macros here:
http://erlang.org/doc/reference_manual/macros.html#7.3

Regards,
Zoltan.

zabrane Mikael wrote:
> Hi List !
>
> As for the ?MODULE which returns the module name, I'm wondering if there
> exist constants which
> return the "line number" (ex. ?LINE) and the "function name" (ex. ?FUNCTION)
> in any Erlang code?
>
> Regards
> Zabrane
>
>   



More information about the erlang-questions mailing list