I'm not sure if this will work with DBClassic, but, I wrote a snippet and put it in the codebase a while back for timer based jumping, its here:
http://www.thegamecreators.com/?m=codebase_view&i=8e05ed0bb5db30baad3eaa493c4c5037
hope it helps
rem requires 4 global variables to be declared and initialized.
global has_jumped
global sy
global jump_timer#
global jump_angle
has_jumped = 0
jump_angle = 10
function player_jump(sprite_id,height,interval#)
if spacekey() = 1 and has_jumped = 0
has_jumped = 1
sy = sprite y(sprite_id)
jump_timer# = timer()
endif
if has_jumped = 1
if timer() - jump_timer# > interval#
sprite sprite_id, sprite x(sprite_id), sy - (sin(jump_angle) * height), sprite image(sprite_id)
jump_timer# = timer()
inc jump_angle,10
if jump_angle > 180
has_jumped = 0
jump_angle = 10
exitfunction
endif
endif
endif
endfunction