Retrieves the specified variable, or will return the default value if the name is not defined.

getVariable(name, defaultValue)