Junior Onur UNURLU

IF ELSEIF ELSE VE END IF DOWHILE SELECT CASE

IF ELSEIF ELSE ve END IF DOWHILE SELECT CASE Hakkında;

IF ve ELSEIF e güzel bür örnek...
<% sayi = 4 if sayi < 5 then Response.Write ”Sayım 5”den küçüktür.” elseif sayi > 5 then Response.Write ”Sayım 5”den büyüktür.” else Response.Write ”Sayım 5”e eşittir.” end if %>


Do While Güzel Bir Örnek
<% sayi = 0 Do While sayi < 10 response.write( ”Sayı: ” & sayi & ”
” ) sayi = sayi + 1 Loop %>

Select Case için Bir Örnek
<% sayi = 3 Select Case sayi Case 1 Response.write (”Sayı 1”) Case 2 Response.write (”Sayı 2”) Case 3 Response.write (”Sayı 3”) Case Else Response write (”Sayı 3”ten büyük!”) End Select %>
Facebook

   SON EKLENEN 6 LİNK