Running into something a bit unusual. I feel like this is probably a silly error on my part, but for the life of me I can't figure out what it could be.
The following works fine:
declare hash hash&foo1.&foo2.&foo3.&foo4.();
...
The following does not work:
declare hash hash%do bar = 1 %to &nvars.;&&foo&bar..%end;();
...
They both appear to resolve as
declare hash hash1111();
But the latter throws a syntax error. Any thoughts? Specific error is:
Line generated by the macro variable "FOO1".
1
Error 22-322: Syntax error, expecting one of the following: a name, (, ;.
...
declare hash hash1111();
NOTE: Line generated by the macro variable "FOO4".
hash1111