首页 | 主题 | 图库 | 问答 | 文摘 | 原创 | 百科

历史 | 地理 | 人物 | 艺术 | 体育 | 科学 | 音乐 | 电影 | 信息技术 | 世界遗产

 开放、中立,源自维基百科

Personal tools

Semicolon

From Wikipedia, the free encyclopedia

Jump to: navigation, search
;

v  d  e

Punctuation

apostrophe ( ' )
brackets (( )), ([ ]), ({ }), (< >)
colon ( : )
comma ( , )
dashes ( , , , )
ellipsis ( , ... )
exclamation mark ( ! )
full stop/period ( . )
guillemets ( « » )
hyphen ( -, )
question mark ( ? )
quotation marks ( ‘ ’, “ ” )
semicolon ( ; )
slash/stroke ( / )
solidus ( )

Interword separation

spaces ( ) () ()
interpunct ( · )

General typography

ampersand ( & )
asterisk ( * )
at ( @ )
backslash ( \ )
bullet ( )
caret ( ^ )
currency ( ¤ ) ¢, $, , £, ¥, ,
dagger/obelisk ( ) ( )
degree ( ° )
inverted exclamation point ( ¡ )
inverted question mark ( ¿ )
number sign ( # )
numero sign ( )
percent and related signs
( %, ‰, )
pilcrow ( )
prime ( )
section sign ( § )
tilde/swung dash ( ~ )
umlaut/diaeresis ( ¨ )
underscore/understrike ( _ )
vertical/pipe/broken bar ( |, ¦ )

Uncommon typography

asterism ( )
index/fist ( )
therefore sign ( )
interrobang ( )
irony mark ( ؟ )
reference mark ( )
sarcasm mark

A semicolon (  ;  ) is a punctuation mark. The Italian printer Aldus Manutius the Elder established the practice of using the mark to separate words opposed in meaning and to mark off interdependent statements.[1] The earliest general use of the semicolon in English was in 1591. Ben Jonson was the first notable writer from England to use them systematically.

Contents

English usage

In English, the semicolon has two main purposes:

  1. It binds two sentences more closely than they would be if separated by a full stop/period. It often replaces a conjunction such as and or but. Writers might consider this appropriate where they are trying to indicate a close relationship between two sentences, or a 'run-on' in meaning from one to the next; they might not want the connection to be broken by the abrupt use of a full stop.
  2. It is used as a stronger division than a comma to make meaning clear in a sentence where commas are being used for other purposes. A common example of this use is to separate the items of a list when some of the items themselves contain commas.

There are several cases where semicolons may be used:

  1. Use a semicolon between closely related independent clauses not joined by a coordinating conjunction: "I went to the pool; I was informed that it was closed due to scheduled maintenance."
  2. Use a semicolon between independent clauses linked with a transitional phrase or conjunctive adverb: "I like to eat cows; they don't, however, like to be eaten by me."
  3. Use a semicolon between items in a series containing internal punctuation: "There are several Waffle Houses in Atlanta, Georgia; Greenville, South Carolina; Gainesville, Florida; and Mobile, Alabama."
  4. A semicolon can be used to separate independent clauses that are joined by coordinating conjunctions when the clauses have internal commas that might lead to misreading: "After the game, I won a red beanie baby, four edible ingots, and a certificate of excellence; but when the storm came, I lost it all in a torrent of sleet, snow, and profanity."

Semicolons are always followed by a lower case letter, unless that letter begins a proper noun. Semicolons have no spaces before, but one space after when used in a document.

Examples

  1. I am not alone; my wife came back to me.
  2. I traveled to Cambridge, England; Tijuana, Mexico; and Paris, France.
  3. Lisa scored 2,845,770 points; Marcia, 2,312,860; and Sam, 1,726,640.

(The semicolons in the second sentence and the second semicolon in sentence 3 are acting as serial commas.)

Other languages

In Greek and Church Slavonic, a semicolon indicates a question, similar to a Latin question mark. To indicate a major pause or separate sections each of which includes commas (the purposes served by semicolon in English), Greek uses an interpunct (·) or, actually, an ano teleia (·).

Example:

Με συγχωρείτε· πού είναι οι τουαλέτες; (Excuse me; where are the toilets?)

Computing usage

In computer programming, the semicolon is often used to separate multiple statements (for example, Pascal, SQL and Perl). In other languages, semicolons are required after every statement (such as in PHP, Java, Action Script, Lingo Script and the C family). Other languages (for instance, some assembly languages and LISP dialects) use semicolons to mark the beginning of comments. In computer systems, the semicolon is represented by Unicode and ASCII character 59 or 0x3B. The EBCDIC semicolon character is 94 or 0x5E.

The semicolon is often used to separate elements of a string of text. For example, multiple e-mail addresses in the "To" field in some e-mail clients have to be delimited by a semicolon.

In Microsoft Excel, the semicolon is used as a list separator, especially in cases where the decimal separator is a comma.

Example:

  • 0,32; 3,14; 4,50 (instead of 0.32, 3.14, 4.50)

Mathematics

In the argument list of a mathematical function Failed to parse (Missing texvc executable; please see math/README to configure.): f(x_1, x_2, \dots; a_1, a_2, \dots) , a semicolon may be used to separate variables and parameters.

In differential geometry, a semicolon preceding an index is used to indicate the covariant derivative of a function with respect to the coordinate associated with that index.

References

  1. ^ Truss, Lynne. Eats, Shoots & Leaves, 2003. p. 77. ISBN 1-592-40087-6.


  • Hacker, Diana (2002). The Bedford Handbook (6th ed.). Boston: Bedford/St. Martin's ISBN 0-312-41281-9.

External links

cs:Středník da:Semikolon de:Semikolon es:Punto y coma eo:Punktokomo eu:Puntu eta koma fr:Point-virgule hr:Točka sa zarezom it:Punto e virgola he:נקודה ופסיק hu:Pontosvessző nl:Puntkomma ja:セミコロン no:Semikolon pl:Średnik pt:Ponto-e-vírgula ro:Punct şi virgulă ru:Точка с запятой sk:Bodkočiarka sl:Podpičje sh:Točka sa zarezom fi:Puolipiste sv:Semikolon th:อัฒภาค tr:Noktalı virgül

Languages
AD Links