Explain the predefined Macros in Erlang?

Total Post:84

Points:420
erlang 
 712  View(s)
Ratings:
Rate this:
  1. Post:84

    Points:420
    Explain the predefined Macros in Erlang?

    The 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.

      Modified On Mar-29-2018 12:42:41 AM

Answer