I know I can use %PUT to write a text string in the log window, but what if I want to write in the log the result of a function, for example PROBNORM(x)? Is there a way to do that?
Use %sysfunc() to evaluate a function during macro resolution.
IE
%let x=1;
%put %sysfunc(probnorm(&x));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With