You are on page 1of 3

Daftar Isi

Daftar Isi ................................................................................................................................ i


Daftar Pustaka ........................................................................................................................ ii
2.1 Bahasa Pemrograman.......................................................................................................1
2.2 Visual Basic 6.0 ...............................................................................................................1
2.2.1 Jendela IDE ................................................................................................................... 2
2.2.2 Toolbox ......................................................................................................................... 4
2.2.3 Event pada Form ...........................................................................................................5
2.2.4 Kotak Pesan (MsBox) ...................................................................................................6
2.3 Pengenalan Tipe Data, Variabel, Konstanta dan Operator .............................................6
2.3.1 Tipe Data ....................................................................................................................... 6
2.3.2 Variabel ......................................................................................................................... 7
2.3.3 Konstanta ...................................................................................................................... 7
2.3.4 Operator ........................................................................................................................ 9
2.3.4.1 Operator Aritmatika ...................................................................................................9
2.3.4.2 Operator Pembanding ................................................................................................ 9
2.3.4.3 Operator Logika .........................................................................................................9
2.4 Prosedur ........................................................................................................................... 10
2.4.1 Prosedur Sub .................................................................................................................10
2.4.2 Prosedur Function .........................................................................................................10
2.5 Pernyataan dalam Visual Basic ........................................................................................ 11
2.5.1 Struktur Kontrol Keputusan .......................................................................................... 11
2.5.1.1 If...Then ..................................................................................................................... 11
2.5.1.2 If...Then... Else ...........................................................................................................11
2.5.1.3 If...Then... ElseIf .........................................................................................................12
2.5.1.4 Select Case .................................................................................................................13
2.5.2 Struktur Kontrol Pengulangan ...................................................................................... 14
2.5.2.1 For...Next ..................................................................................................................14
2.5.2.2 For Each... Next .........................................................................................................14
2.5.2.3 Do... Loop ..................................................................................................................14
2.5.2.4 Do While... Loop ........................................................................................................14
2.5.2.5 Do Loop...While .........................................................................................................15

i
2.5.2.6 Do Until...Loop ..........................................................................................................16
2.5.2.7 Do... Loop Until .........................................................................................................16
2.5.2.8 While... Wend .............................................................................................................17
2.6 Array ................................................................................................................................ 17
2.6.1 Array 1 Dimensi ............................................................................................................17
2.6.2 Array 2 Dimensi ............................................................................................................18
2.7 Struktur Data Record (Structure) ..................................................................................... 18
2.8 Tahap-tahap Dalam Pemrograman ..................................................................................19

ii
Daftar Pustaka

MADCOMS. 2008. Microsoft Visual Basic 6.0 untuk Pemula. Madiun : Penerbit Andi

Suarga. 2004. Algoritma Pemrograman. Makasar : Penerbit Andi

Rachmat, Antonius. 2010. Algoritma dan Pemrograman dengan Bahasa C. Yogyakarta :


Penerbit Andi

Basuki, Achmad. 2006. Algoritma Pemrograman 2 Menggunakan Visual Basic 6.0. Surabaya:
ITS

iii