Мова програмування Turbo-Basic
SOUND Count, Del / Count
NEXT
END SUB
SUB Klaxon (Hi, Low) STATIC
WHILE INKEY$ = ""
SOUND Hi, 5
SOUND Low, 5
WEND
END SUB
SUB Siren (Hi, Rng) STATIC
WHILE INKEY$ = ""
FOR Count = Rng TO -Rng STEP -4
SOUND Hi - ABS(Count), .3
Count = Count - 2 / Rng
NEXT
WEND
END SUB
'ГРАФIЧHИЙ РЕДАКТОР
'-------------------------------------
ON KEY (1) SUB 500
KEY (1) ON
SCREEN 2
200x$=input$(1)
IF X$="S" OR x$="s" THEN END
IF X$="A" OR X$="a" THEN DRAW "L5"