[ADMB Users] spaces/tabs
Lee, Laura (MRC)
Laura.Lee at mrc.virginia.gov
Tue Sep 7 10:18:31 PDT 2010
Mollie-
Yes, END_CALCS signifies the end of LOCAL_CALCS. If you don't have
END_CALCS, that may be causing your other error.
Laura
________________________________
From: users-bounces at admb-project.org
[mailto:users-bounces at admb-project.org] On Behalf Of Mollie Brooks
Sent: Tuesday, September 07, 2010 1:10 PM
To: users at admb-project.org
Subject: Re: [ADMB Users] spaces/tabs
Thanks Laura. I figured out the one space thing just now. Strange. Does
END_CALCS signify the end of LOCAL_CALCS?
After getting past that, I now get a similar error on the last line
where I assign a value to my objective_function_value.
*** tpl2cpp ADMBponds_process3
Error in line 86 while reading
n
So I'm trying to cut my indents all down to 1 space, but I prefer the
visual punctuation of indenting a good amount. I hope something works.
-Mollie
On Sep 7, 2010, at 1:02 PM, Lee, Laura (MRC) wrote:
When I've used LOCAL_CALCS in the DATA_SECTION, I've found that the term
LOCAL_CALCS and the associated END_CALCS should only be indented one
space. I had problems when I indented with more than one space. Not sure
if this applies to the PARAMETER_SECTION as well.
________________________________
From: users-bounces at admb-project.org
[mailto:users-bounces at admb-project.org] On Behalf Of Mollie Brooks
Sent: Tuesday, September 07, 2010 12:39 PM
To: users at admb-project.org
Subject: [ADMB Users] spaces/tabs
Hi All,
Following your advice, I went through my code and replaced all the tabs
with spaces and now my LOCAL_CALCS section heading is getting an error.
I gave up on the TOP_OF_MAIN_SECTION and decided to do this in command
line. The weird thing is that my code compiled just fine yesterday and
that's how I found out that I had a memory shortage (separate problem).
Why would it change it's reading of the LOCAL_CALCS section? I still
have it indented within the PARAMETER_SECTION although I've tried not
indenting it also.
thanks,
Mollie
P.S. Is there a new version compiled for a 64 bit mac? Would this help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100907/9f320109/attachment.html>
More information about the Users
mailing list