I've just found that the following code does not produce an error, while I anticipated it should:
Code:
clear generate x="abc" display x[1] display x[1000] display x[-1000]
Code:
observation numbers out of range
r(198);
Code:
replace x=1 in 1000
Is there any way to restrict this behavior to result in error for when attempts are made to read from outside of the data range?
Thank you, Sergiy
0 Response to Handling of out of range values
Post a Comment