4.3 Menulis kode pemrogram sesuai dengan aturan dan sintaks bahasa pemrograman
https://www.youtube.com/watch?v=VPszGL3aWEs Syntax Proses If...Then...Else Statement contoh https://www.youtube.com/watch?v=EBB2ZrJunQc https://www.youtube.com/watch?v=VPszGL3aWEs Dim Number, Digits, MyString Number = 53 ' Initialize variable. If Number < 10 Then Digits = 1 ElseIf Number < 100 Then ' Condition evaluates to True so the next statement is executed. Digits = 2 Else Digits = 3 End If ' Assign a value using the single-line form of syntax. Tetapkan nilai menggunakan bentuk baris tunggal sintaks If Digits = 1 Then MyString = "One" Else MyString = "More than one" Use If TypeOf construct to determine whether the Control passed into a procedure is a text box Contoh Sub ControlProcessor(MyControl As Control) If TypeOf MyControl Is CommandButton T...