Global variables

What is the best way to set a variable in one script and use it in another script?