The following code yields a weird error. I think I may be doing something silly. I am using WIN 8 64 bit with Gretl 1.9.12CVS 8/9/2013 (could be a bit old).
bundle bARG
bARG["hrzn"] = 20
#Set forecast horzion
scalar intHRZ = inbundle(bARG, "hrzn") ? bARG["hrzn"] : 5*$pd
set horizon intHRZ
Here is the error:
'inthrz': not a scalar
Error executing script: halting
> set horizon intHRZ
|
The following code yields a weird error. I think I may be doing something silly. I am using WIN 8 64 bit with Gretl 1.9.12CVS 8/9/2013 (could be a bit old). bundle bARG bARG["hrzn"] = 20 #Set forecast horzion scalar intHRZ = inbundle(bARG, "hrzn") ? bARG["hrzn"] : 5*$pd set horizon intHRZ Here is the error: 'inthrz': not a scalar Error executing script: halting > set horizon intHRZ |
