The-Semicolon.com

Get a NetFlix Subscription

 

When to Use Semicolons in Computer Programming

In computer programming, the semicolon is often used in imperative programming languages to separate multiple statements (for example, Pascal and JavaScript). In other procedural programming languages semicolons are required after every statement (such as in PHP, Java, and the C family). Other languages, for example some assembly languages and LISP dialects, may use semicolons to mark the beginning of comments. In computer systems, the semicolon is represented by Unicode and ASCII character 59, or 0x003B.

Copyright © 2005-2010 The-Semicolon.com. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

 
 
  ©2005-2010 The-Semicolon.com. All Rights Reserved