While I was careful to point out why declaring variables even when it's not necessary is a generally a good idea, the original poster was asking for a few simple lines of code that he could presumably type into the script editor on the fly, and maybe drag to a shelf. Such quick-and-dirty solutions don't necessarily warrant the full treatment, in my opinion.
-- Mark