Yapısı
If
.................. Then
..................................................
Else
..................................................
EndIf
saat= Clock.Hour Sistem
saatini okur.
If saat < 12 Then Eğer
saat 12’den az ise
TextWindow.WriteLine("Sabah") Ekrana
“Sabah” yaz
Else Değilse
TextWindow.WriteLine("Akşam") Akşam
Yaz
 
 
 
EndIf
Yapısı
If
.................. Then
..................................................
ElseIf
.................. Then
..................................................
Else
..................................................
EndIf
start: başla.
TextWindow.Write("1+1=2 D/Y?
")
cevap = TextWindow.Read() cevabı
oku.
If cevap = "D" Then Eğer
cevap D ise
TextWindow.WriteLine("Doğru") Ekrana
Doğru Yaz.
ElseIf cevap = "Y" Then Eğer
cevap Y ise
TextWindow.WriteLine("Yanlış") Ekrana
Yanlış Yaz.
Else Değilse
Goto start Başlaya
Dön
EndIf
 
 
Hiç yorum yok:
Yorum Gönder