Make a character jump?!?!

Hi all. I want to make an adventure side scroller like Mario Brothers, but i have no idea how to make him jump. The code i Have now makes the char jump, but if you hold the up arrow he will jump again. Please help in any way. Also if this can be done w/o a tilebased world it would be awesome.