An implementation of static local variables, as familiar from C
Static local variables are variables local to a function, which upon first application, assign a value to the variable. The value bound by the variable persists after the function application completes, so the state is preserved across muliple applications of the function.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.