Use Global Variables as an elements of array

Hi all
Can I use global variables, which contains ids(i. e. 319216730084201), as en elements of array.