0

How do I use the IF function please ?

If

6th Mar 2017, 4:31 PM
Bernice Prah
3 Answers
+ 14
if (condition == true) { // execute codes }
6th Mar 2017, 4:33 PM
Hatsy Rei
Hatsy Rei - avatar
+ 11
The 'if' isn't a function but a statement... ... and you must specify to what language your question is related ^^ ( the @Hatsy Rei snippet works for you? You're lucky: it's not always the same syntax, depending on what language :P )
7th Mar 2017, 4:58 AM
visph
visph - avatar
0
thanks
6th Mar 2017, 4:35 PM
Bernice Prah