Variables Help

How do you get a variable from another lua file, so i can get it, and use it on a function or a piece of code?

[editline]15th December 2012[/editline]

Anyone?