I define my variables globally in Slot 0 and USE 1, which contains my library. But when I try to use the function NEWGUI, it gives me a type mismatch error on line 18, where I try to FILL my array. The conclusion I've come to is that my global variables in Slot 0 are out of scope for any functions running from Slot 1.