globalsByName function

Locates and retrieves a set of global variables by their names