{{codeblock|{{code|keyword|If}}{{code|whitespace| }}{{code|variable|I have no pants}}{{code|whitespace| }}{{code|operator|and}}{{code|whitespace| }}{{code|variable|I must scream}}{{code|whitespace| }}{{code|keyword|then}}{{code|punctuation|:}}{{code|whitespace| }}{{code|keyword|I would}}{{code|whitespace| }}{{code|method|scream without pants}}{{code|puncuation|.}}{{code|whitespace| }}{{code|keyword|That's what I would do}}{{code|punctuation|.}}}}
Thisloopsthenextpart of code if the variable {{code|variable|Applejack}} is equal to {{code|literal|99}} and the variable {{code|variable|Spike}} is equal to {{code|literal|12}}.
−
−
{{code|continuation|...}}}}
−
−
This executes the next part of code if the variable {{code|variable|Applejack}} is equal to {{code|literal|99}} and the variable {{code|variable|Spike}} is equal to {{code|literal|12}}.
This is equivalent to the following '''Java''' code:
This is equivalent to the following '''Java''' code: