they are not the same. if you write only one statement after "if()", you can omit { } but when you write two or more statements after "if()", you have to write them in { }
lissp: they are not the same. if you write only one statement after "if()", you can omit { } but when you write two or more statements after "if()", you have to write them in { }
if you write only one statement after "if()", you can omit { }
but when you write two or more statements after "if()", you have to write them in { }
Perhaps you should read the manual.
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
they are not the same.
if you write only one statement after "if()", you can omit { }
but when you write two or more statements after "if()", you have to write them in { }
Noted. Thank you!