[ADMB Users] Include source

Mark Maunder mmaunder at iattc.org
Fri Feb 22 11:16:13 PST 2013


I am not sure if I told you about this workshop in March. You may be interested in the whole thing, but more importantly is the evening session on ADMB libraries.



From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of Jeff Laake
Sent: Friday, February 22, 2013 10:24 AM
To: <users at admb-project.org>
Subject: [ADMB Users] Include source

Is there any way to include source into a TPL file. I know of #include<> for c++ code but am I overlooking some syntax in the documentation.  I tried that with a .tpl and it didn't work. What I want to do is to have a common part of a TPL in its own file say common.tpl and then just have an include <common.tpl>  in the TPL files that use it.  If not currently available, I think this would make a nice addition to avoid replicating code.

I could probably do it in R using R2admb but before I go down that route, I thought I'd ask.

regards --jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130222/c3c579af/attachment.html>

More information about the Users mailing list