User Tools

Site Tools


en:reference:language:semicolon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:reference:language:semicolon [2017/04/07 10:03] (current)
Line 1: Line 1:
 +====== ; semicolon ======
 +
 +
 +Used to end a statement.
 +===== Example =====
 +
 +int a = 13;
 +
 +===== Tip =====
 +
 +Forgetting to end a line in a semicolon will result in a compiler error. The error text may be obvious, and refer to a missing semicolon, or it may not. If an impenetrable or seemingly illogical compiler error comes up, one of the first things to check is a missing semicolon, in the immediate vicinity, preceding the line at which the compiler complained.
 +
  
en/reference/language/semicolon.txt · Last modified: 2017/04/07 10:03 (external edit)