Counter-Strike Federation Welcome , Leecher | RSS | Monday, 22 July 24
A Place Where Player Becomes Developer Home | Sign Up | Log In
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 2
  • 1
  • 2
  • »
Pengenalan Fungsi If ... Else Statements -..-
Grade: Brigadir Khairul169Date: Monday, 27 August 12, 11:58 PM | Message # 1
Brigadir
Clan: Member
Experience: 719
Status: Offline
jajajaja simple, singkat, dan padat langsung aja yah :*

Syntax dari If :
Code
if(condition){/*code yg akan dijalankan jika kondisi terpenuhi*/}


Syntax dari If..Else :
Code
if(condition){/*code yg akan dijalankan jika kondisi terpenuhi*/}
else{/*code yg akan dijalankan jika kondisi tidak terpenuhi*/}


Syntax dari If..Elseif..Else :
Code
if(condition){/*code yg akan dijalankan jika kondisi terpenuhi*/}
elseif(condition){/*code yg akan dijalankan jika kondisi tsb terpenuhi, sedangkan kondisi sebelumnya tidak terpenuhi*/}
else{/*code yg akan dijalankan jika tidak ada satupun kondisi yang terpenuhi*/}


contoh saja :
Code
if(khairul=="ganteng"){
Banyak cewe yg bakalan tertarik padanya :*
}

dari contoh diatas bisa dibaca sbb :
Jika khairul itu ganteng, maka Banyak cewe yg bakalan tertarik padanya :*

contoh lagi ya --'
Code
if(khairul=="ganteng"){
Banyak cewe yg bakalan tertarik padanya :*
}else{
Gak akan ada cewe yg bakalan tertarik padanya :'<
}

dari contoh diatas bisa dibaca sbb :
Jika khairul itu ganteng, maka Banyak cewe yg bakalan tertarik padanya :*
Jika tidak, maka Gak akan ada cewe yg bakalan tertarik padanya :'<

contoh lagi ? :*
Code
if(david!="perawan"){
David udah jebol -_-
}elseif(david=="perawan"){
David masih perawan :3
}else{
David laki laki donk -_-
}

dari contoh diatas bisa dibaca sbb :
Jika david tidak perawan, maka David udah jebol -_-
Jika david perawan, maka David masih perawan :3
Jika tidak keduanya, maka david Laki laki donk -_-

:v bagi yg namanya ada dalam text, jangan marah ea biggrin xD xD


posted via Blackberry

My FB ._.v



Message edited by 1st-Jaguard - Tuesday, 28 August 12, 0:16 AM
 
Grade: Brigadir DrIncztinkDate: Tuesday, 28 August 12, 3:51 AM | Message # 2
Brigadir
Clan: Member
Experience: 645
Status: Offline
Saya katakan nice biggrin

.: CSPB Custom on Project CSRevolution Now :.
======================================================================

======================================================================
 
Grade: General Blacx_BluezDate: Tuesday, 28 August 12, 5:57 PM | Message # 3
General
Clan: Member
Experience: 926
Status: Offline
wkwkkwk tetep gk ngerti xD



My Blog:
HANICKcreative
 
Grade: Commander DavidJrDate: Tuesday, 28 August 12, 7:23 PM | Message # 4
Commander
Clan: Executive
Experience: 2256
Status: Offline
==

posted via BlackBerry

Personal Site | CSF Website
 
Grade: Brigadir Khairul169Date: Tuesday, 28 August 12, 11:23 PM | Message # 5
Brigadir
Clan: Member
Experience: 719
Status: Offline
Quote (Blacx_Bluez)
wkwkkwk tetep gk ngerti xD

-,-


posted via Blackberry

My FB ._.v

 
Grade: Commander gtnreteDate: Saturday, 01 September 12, 10:36 PM | Message # 6
Commander
Clan: Member
Experience: 1593
Status: Offline
well,Its help me!

SIP... BAGI 2...
Visit My Thread

I'm back on my first avatar
"Lu Asik Gua Santai,Lu Usik Gua Bantai !"
 
Grade: Brigadir Khairul169Date: Sunday, 02 September 12, 11:31 PM | Message # 7
Brigadir
Clan: Member
Experience: 719
Status: Offline
Quote (gtnrete)
well,Its help me!

:*


posted via Blackberry

My FB ._.v

 
Grade: Commander gtnreteDate: Saturday, 08 September 12, 2:09 PM | Message # 8
Commander
Clan: Member
Experience: 1593
Status: Offline
Quote (1st-Jaguard)
:*

cipok cipok di dindng :*


SIP... BAGI 2...
Visit My Thread

I'm back on my first avatar
"Lu Asik Gua Santai,Lu Usik Gua Bantai !"
 
Grade: Brigadir Khairul169Date: Saturday, 08 September 12, 5:46 PM | Message # 9
Brigadir
Clan: Member
Experience: 719
Status: Offline
Quote (gtnrete)
cipok cipok di dindng :*

muah :* :*


posted via Blackberry

My FB ._.v

 
Grade: Colonel EXSkepTiz_DpkDate: Saturday, 08 September 12, 7:22 PM | Message # 10
Colonel
Clan: Member
Experience: 443
Status: Offline
apan nih maksudnya? kwkw ga ngerti

-BB pin : 2A391400
-FB email : saputra_oka03@yahoo.co.id
 
Grade: Brigadir Khairul169Date: Tuesday, 11 September 12, 6:33 PM | Message # 11
Brigadir
Clan: Member
Experience: 719
Status: Offline
Quote (EXE_LonTong_Dpk)
apan nih maksudnya? kwkw ga ngerti

-_-


posted via Blackberry

My FB ._.v



Message edited by 1st-Jaguard - Tuesday, 11 September 12, 6:34 PM
 
Grade: Colonel nadiajaDate: Tuesday, 11 September 12, 7:08 PM | Message # 12
Colonel
Clan: Member
Experience: 359
Status: Offline
hahaha.... gan david yg jadi sasarannya! lol
 
Grade: Brigadir Khairul169Date: Tuesday, 11 September 12, 7:29 PM | Message # 13
Brigadir
Clan: Member
Experience: 719
Status: Offline
Quote (nadiaja)
hahaha.... gan david yg jadi sasarannya!

biarin,, yg penting muah :*


posted via Blackberry

My FB ._.v

 
Grade: Copral YoushouDate: Wednesday, 17 October 12, 10:11 PM | Message # 14
Copral
Clan: Member
Experience: 44
Status: Offline
adoh serasa belajar vb ama pascal lagi. wkwkwk. ini c++ ya?

Beginner CS Modder. Weapon Sprites Maker, Hack Model, Retexture, and BSP GoldSrc porter :D





Reload. Rev Up. Ride Out.
 
Grade: Brigadir Khairul169Date: Wednesday, 17 October 12, 10:18 PM | Message # 15
Brigadir
Clan: Member
Experience: 719
Status: Offline
^ pawn

posted via Blackberry

My FB ._.v

 
  • Page 1 of 2
  • 1
  • 2
  • »
Search:

Mirum
sample map