Yeah, my comment wasn't to say they needed any closing, just that "}" is how you should end an if block with more than one statement (rather than "end if"). :¬)
Now that we've thrown 'em off the trail, use the form below to get in touch with the people at Engadget. Please fill in all of the required fields because they're required.
End If
}
dammit!!!
Java > C++
*runs away*
Just to set the record straight, the title of this article is accurate, in that if can have a following code of line without having { }.
And endif; will not work since you need a colon after the parenthesis to make it an if-called statement.
Yeah, my comment wasn't to say they needed any closing, just that "}" is how you should end an if block with more than one statement (rather than "end if"). :¬)