Press Any Key to Continue pada Turbo BASIC

Referensi Algo 1 (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”

Share this

Leave a Reply

Your email address will not be published.