{{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|.}}}}
−
{{codeblock|{{code|keyword|I did this as long as}}{{code|whitespace| }}{{code|variable|Applejack}}{{code|whitespace| }}{{code|operator|is}}{{code|whitespace| }}{{code|literal|99}}{{code|whitespace| }}{{code|operator|and}}{{code|whitespace| }}{{code|variable|Spike}}{{code|whitespace| }}{{code|operator|is}}{{code|whitespace| }}{{code|literal|12}}{{code|punctuation|:}}
−
−
{{code|continuation|...}}}}
This loops 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 loops 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: