I want to get one global within .gof files, such as there is a file named export.gof(contains ^a,^b,^c),but i just want to get ^b, so how could i get that specific global with a command or classmethod. thank you!

1

There are 1 best solutions below

0
DAiMor On

Class %Global has method Import with GlobalList as the second argument, so, you can choose which globals to import or all. But, unfortunately, this argument ignored for GOF files. So, looks like, the only way is to import to another namespace or database (CACHETEMP for example), and merge particular global to the desired destination.