Dear All, I have the following code (example) that I expect to always return r(val):
But when the value is empty, the r(val) seems to be not defined at all after the run and this causes complications down the stream for me. Is there a way to force-define the returned result as an empty string?
Thank you, Sergiy
Code:
clear all version 17.0 program define foobar, rclass syntax , p(integer) if `p'>=0 return local val=char(96)+"BIG"+char(39) else return local val="" end
Thank you, Sergiy
Comment