I'll answer with an example.
If your layout includes a button named Button1 and you declared a button named Button1 in Sub Globals.
Each time you load a layout file that includes a button named Button1, the variable declared will reference the last "Button1" button.
So you can load a layout file, change Button1 properties and then load the next layout and again modify Button1 properties.