Skip to content

Commit

Permalink
Fixed a typo and added a note.
Browse files Browse the repository at this point in the history
Kent
  • Loading branch information
Kent Mein committed Sep 24, 2012
1 parent 2570e91 commit 7838e7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LPC.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,10 @@ <h3> <a name="variable declaration"> 3.4.1. Variable declaration </a> </h3>
<p>
A variable declaration has the following form:
<i><a href="#types">TYPE</a></i> Identifier;<br>
If you have multiple variables of the same time, you can separate them by a
If you have multiple variables of the same type, you can separate them by a
coma to keep them on the same line: TYPE Identifier1, Identifier2;
<b>Note: DGD does not allow assignment in the declaration statement.
(int x=5; is not valid DGD LPC)</b>
</p>
<p>
Examples:
Expand Down

0 comments on commit 7838e7a

Please sign in to comment.