Cursor & Locate pada Turbo BASIC

Referensi Algo 1 (Basic)
Bentuk Kursor pada Locate : Locate Baris, Kolom, Kursor, Awal, Akhir Keterangan:
Baris : Posisi 1 s/d 25 baris (atas s/d bawah) Kolom : Posisi 1 s/d 80 kolom (kiri s/d kanan) Kursor : Nilai 1 berarti Kursor Kelihatan, Nilai 2 berarti Kursor Tidak Kelihatan Awal : Bentuk Awal Kursor mulai 0 s/d 7 Awal : Bentuk Akhir Kursor mulai 0 s/d 7
Contoh: 20 Locate 3,5 : Print “Contoh Membuat kursor” 30 Locate 4,5,1,7,0 : Print “Lihat Bentuk kursor” 40 End

Share this

Leave a Reply

Your email address will not be published.