From: Wes James <comptekki@gm...> - 2010-06-01 20:15:02
How do I grab the appmod fake-name in
appmod = <fake-name, realname>
in size an appmod.
In a .hrl or somewhere else if possible, I would like to dynamically grag this:
I have this path in some java script and I would like to dynamically
change this based on what it is called in the appmod declaration.
Is there a way to do this. I can grab it with A#arg.server_path, but
then I would need to pass it around a lot of functions.
Hmm, I'm not sure -define(SERVERPATH,...) will work. Since that path
isn't known until A is passed in the out(A) ->...., right?
Any other ideas on this?