[erlang-questions] Other constants likes ?MODULE

Zoltan Lajos Kis <>
Sun Nov 22 12:32:28 CET 2009

Hi Zabrane,

You can find the available predefined macros here:


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