Press Any Key to Continue pada Turbo BASIC

Contoh 1 :

10 Print “Tekan Sembarang Tombol”

20 C$=INKEY$ : IF C$=” ” THEN 20

50 Print “Hasil Eksekusi baris setelah Enter”

Contoh 2 :

10 Print “Tekan Sembarang Tombol”

20 DO

30 LOOP UNTIL INSTAT

50 Print “Hasil Eksekusi baris setelah Enter”

Leave a Reply

Your email address will not be published. Required fields are marked *