title: Erlang: How to use a -define macro outside of a module?
body: <p>Suppose I have the module test.erl, and inside it is the macro <code>TOTAL</code>:</p>
  
  <pre><code>-module(test)
  -export([...])
  
  -define(TOTAL,(100))
  
  ...
  </code></pre>
  
  <p>If <code>get_total()</code> was defined in test.erl, I could call <code>test:get_total().</code> from the REPL</p>
  
  <p>How do I call <code>?TOTAL</code> (the macro) outside of the module test.erl without defining a function?</p>