Mel script for going to next or previous frame

hi, guys. i know this is really easy for you guys, but im really new for Maya.
i
m trying to make the shortcut key for going to next or previous frame(Not drivenkey). then i noticed that i need to type the script in command area.
i don`t know about script at all. so please help me.

for Next frame:

currentTime ( currentTime -q + 1 )

-James

That'll do it. Note that the quotes have to be backticks () rather than apostrophes (''). This catches a lot of people.

-- Mark

thanks, man. it really helps me. see you.