*dividing by zero throws an exception, so is very slow*; Data d1; Set d1; f = divide(x/y); run; *divide does not write to log*; *divide is as efficicent as: if y>0 then f=x/y*;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter