How to declare an universal list

Could someone please tell me how to declare an universal list? By universal, I mean the same scope as universal variable.

And how to insert element into the universal list?



A universal list is simply a universal variable with a list inside of it. You can declare a universal list in the same way that you do a variable. All you need to do is name it (the first line of the code below), and then put a list into it. In the example below, I have first created a list variable and then put that into the universal variable, but you can also put the list directly into the universal.

universal MyVar
Put (1,2,3) into List
Put List into universal MyVar
Put MyVar