[...] the capabilities of SAS. For brevity, this article discusses functions, but the same ideas apply to user-defined subroutines. In computer science, the scope of a variable is the "context... in which a variable name... is …