Basic support for extracting values of global variables