1
- The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
If you are undoing an edit that is …
You are not logged in.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
If you are undoing an edit that is not vandalism, explain the reason in the edit summary rather than using only the default message.
Line 32: |
Line 32: |
|
{{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|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|.}}}} |
|
|
|
|
− |
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 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: |