Thread:Lumage/@comment-4665821-20141127210754/@comment-75.143.146.100-20150411145442

Step No1: Wright Program

Step No2: Edit mode at bottom of screen

Step No3: Type this:

@LOOP

CLS

PRINT "PRESS A TO MAKE NOISE"

IF BTRIG==16 THEN BEEP 3

WAIT 1

GOTO@LOOP

So, what the @LOOP part is, is a the line it will go back to so it doesn't just stop when you try to run it. The CLS means Clear Screen, so it doesn't say PRESS A TO MAKE NOISE a million times. The IF BTRIG==16 THEN BEEP 3 means that if you press A(which is equal to 16 in PTC) it will make a noise(BEEP 3)

WAIT 1 keeps it from glitching out and dying. GOTO@LOOP keeps the program running by "looping" the program. It also doesn't need to be called "LOOP". It can be called anything you want.