Home > DeveloperSection > Interviews > List out the pre-defined Macros in Erlang?

Posted on    June-27-2015 12:49 AM

 erlang Functional Programming  Concurrent Programming  erlang 
Ratings:
 1 Answer(s)
  449  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    June-27-2015 12:49 AM

The pre-defined Macros in Erlang is

• ? Module: It returns the name of the current module
• ? Module_String: It returns the name of the current module, as a string
• ? File: It returns the current file name
• ? Line: It returns the current line number
• ? Machine: It returns the current machine name, ‘BEAM.’


Don't want to miss updates? Please click the below button!

Follow MindStick