sample/string error in subroutine
Posted: Mon Aug 12, 2019 10:02 am
One of our subroutines is no longer working (although we've made no changes to the code). I've attached the error message.
Specifically, the error is in this line:
series s1adj=s1*@elem(s2, %firstdate2)/@elem(s1, %firstdate2)
Both %firstdate2 and %firstdate2 are defined properly, and the line "smpl %firstdate1 %firstdate2" works as expected. The command in the attached error message also works fine in the command line.
Any thoughts?
Specifically, the error is in this line:
series s1adj=s1*@elem(s2, %firstdate2)/@elem(s1, %firstdate2)
Both %firstdate2 and %firstdate2 are defined properly, and the line "smpl %firstdate1 %firstdate2" works as expected. The command in the attached error message also works fine in the command line.
Any thoughts?