Execute simple zero-argument functions without having to type the "()" , and without having to go through the bother of makeActiveBinding
.
This code is provided primarily to allow the user to build his own set of command "shortcuts" by modifying the set of arguments to the switch
function in the function body. The bulk of the code is copied from the excellent package sos
.
The name splatnd
cannot be called directly, and doesn't even exist after being sourced. It serves to define a variety of operators ![your_string_here]
. If the string after !
is not in the switch-list, the function defaults to the normal splat operator, i.e. NOT[your_string_here] .