Just a thought, have not tested.

Code:
cnt      var word
testF    var word
w1       var word

T_C:
    for cnt = 1 to 33  
    testF = testF+? '  frequency step
    if w1 = testF then ST_P
    pause 100
    next
RETURN

ST_P:
'    DO SOMETHING
'   print w1
    goto T_C