[erlang-questions] Other constants likes ?MODULE

zabrane Mikael zabrane3@REDACTED
Sun Nov 22 12:34:41 CET 2009


Thanks Zoltan. Exactly was I was looking after

Regards
Zabrane

2009/11/22 Zoltan Lajos Kis <kiszl@REDACTED>

> 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