Page 1 of 1

Lookup function - error message and no clue

Posted: Sun Oct 12, 2008 7:29 pm
by Ralf
Hello everybody,

working the first time on a small model (actually an assignment) I struggle with getting the lookup function smoothly into the model.

The error message in the very function while editing (see attached screenshot) reads as:

"table of Effect of Resources on Life Span is a lookup name or stringvar and cannot be used as a variable."

I tried to embedd the lookup into the auxilary variable "Effect of Resources on Life Span" - not to the better;-(

To be honest I am clueless what it means and whether the lookup function / table is in the right place/use.

Help is very much appreciated.

Best regards

Ralf

Posted: Sun Oct 12, 2008 11:07 pm
by Administrator
I guess is that what you are trying to do is

Effect of resources on life span =
Table of Effect of resources on life span ( Fish/resource limit )

See also the following
http://www.vensim.com/documentation/html/22820.htm

Hope this helps.

Tony.

Lookup function - error message and no clue

Posted: Sun Oct 12, 2008 11:19 pm
by Ralf
Hi Tony,

Thanks that's it:-))

Best regards

Ralf