Hi, I'm trying to bind f12 to compile.  In my .emacs file, i do

(global-set-key "f12" 'compile)

however, every time I press f12, it says <f12> is undefined

How do I specify f keys for global-set-key in the .emacs file?

Jai