Explain the predefined Macros in Erlang? Sunil Singh150913-Jan-2017erlangerlang Updated on 23-Sep-2020
Sunil Singh
13-Jan-2017The following macros are predefined-
?MODULE : Return the name of the current module.
?MODULE_STRING. :Return the name of the current module as string.
?FILE: Give file name of the current module.
?LINE: Return the current line number.
?MACHINE: Give the machine name ,'BEAM'.
?FUNCTION_NAME : return name of the current function .
?FUNCTION_ARITY : return number of argument of the current function.