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

Posted on    September-14-2015 8:20 AM

 erlang OTP  erlang 
Ratings:
 1 Answer(s)
  433  View(s)
Rate this:

Sunil Singh
Sunil Singh

Total Post:32

Points:160
Posted on    September-14-2015 8:20 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