I am having trouble with understanding the DESC option in the SCENARIO command. Running the code:
Code: Select all
wfcreate u 100
genr x=50+0.03*@trend+2*nrnd
genr log(y)=3*log(x)+nrnd
model _m
_m.append 0*x+log(y)=3*log(x)
_m.scenario(n,a="_1") "scenario 2"
works fine. However, If you replace the last line with
Code: Select all
_m.scenario(n,a="_1",desc="test") "scenario 2"
I get the error message:
How should one use the desc option? When I do this manually in the model object (i.e., change the description of a scenrio) I get the following code in the CAPTURE window:
Code: Select all
_m.scenario(desc="test", usedesc) "scenario 1"
But this code does not work if I include it in the program.....?
Can you please take a look at it?
Thomas