I am a new starter of GAUSS. I have got codes for a new model and want to run them to test the results.
When I tried to run these codes, I noticed this error at the beginning
Illegal use of reserved word G0276: 'library'
Below are my codes:
new; cls; load path=C:\gauss9.0\Gfile library pgraph, optmum; graphset; optset; format /rd 16,3; declare w_scheme, _innov, _K, y_mat, x_mat, _const, AR, z_mat, M, M_V, w_mat, _predict, _p, _options, FTS, dummy, xxx_mat;
I have the
optmum library. If this caused by without having
optset library, could I ask where I could download them?
The problem is that GAUSS uses semi-colons,
;, to separate statements. Since the
load path line does not end with a semi-colon, the next line is also part of the first statement.
// Without a closing semi-colon, it is interpreted as one statement load path=C:\gauss9.0\Gfile library pgraph, optmum;
If you add a semi-colon to the end of the
load path line, like this:
This problem should be resolved.
optset is a part of the
Optmum library and the command
graphset is part of the
pgraph library, so you do not need any additional libraries.