Posted: Tue Jun 24, 2003 6:49 am
Isn't a control structure actually a function too?twigletmac wrote:if is a control structure - not a function
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Isn't a control structure actually a function too?twigletmac wrote:if is a control structure - not a function
Code: Select all
void function () {
if (condition){
//code
}
else{
//other code
}
//no spaces for debug lines
return; //one space for return lines
}