Lookup variable value in another database

Is there a way to lookup the value of a file global variable in an external database (a database that is not the current database)?

You use the fileglobalvalue( function. In Panorama 6, it is known as grabfilevariable(.