Skip to content
Surf Wiki
Save to docs
general/punctuation

From Surf Wiki (app.surf) — the open knowledge base

Semicolon

Punctuation mark (;)


Punctuation mark (;)

FieldValue
see also
unicode
different from

The semicolon **** (or semi-colon) is a symbol commonly used as orthographic punctuation. In the English language, a semicolon is most commonly used to link (in a single sentence) two independent clauses that are closely related in thought, such as when restating the preceding idea with a different expression. When a semicolon joins two or more ideas in one sentence, those ideas are then given equal rank. Semicolons can also be used in place of commas to separate items in a list, particularly when the elements of the list themselves have embedded commas.

The semicolon is one of the least understood of the standard marks, and is not frequently used by many English speakers.

In the QWERTY keyboard layout, the semicolon resides in the unshifted homerow beneath the little finger of the right hand. It has become widely used in programming languages as a statement separator or terminator.

History

In 1496, the semicolon is attested in Pietro Bembo's book ** printed by Aldo Manuzio. The punctuation also appears in later writings of Bembo. Moreover, it is used in 1507 by Bartolomeo Sanvito, who was close to Manuzio's circle.{{r |n=parkes |r={{cite book

In 1561, Manuzio's grandson, also called Aldo Manuzio, explains the semicolon's use with several examples in Orthographiae ratio. In particular, Manuzio motivates the need for punctuation (interpungō) to divide (distinguō) sentences and thereby make them understandable. The comma, semicolon, colon, and period are seen as steps, ascending from low to high; the semicolon thereby being an intermediate value between the comma and colon . Here are four examples used in the book to illustrate this:

*Publica, privata; sacra, profana; tua, aliena.* Public, private; sacred, profane; thine, another's. *Ratio docet, si adversa fortuna sit, nimium dolendum non esse; si secunda, moderate laetandum.* Reason teaches, if fortune is adverse, not to complain too much; if favorable, to rejoice in moderation. *Tu, quid divitiae valeant, libenter spectas; quid virtus, non item.* You, what riches are worth, gladly consider; what virtue (is worth), not so much. *Etsi ea perturbatio est omnium rerum, ut suae quemque fortunae maxime paeniteat; nemoque sit, quin ubivis, quam ibi, ubi est, esse malit: tamen mihi dubium non est, quin hoc tempore bono viro, Romae esse, miserrimum sit.* Although it is a universal confusion of affairs(,) such that everyone regrets their own fate above all others; and there is no one, who would not rather anywhere else in the world, than there, where he is, prefer to be: yet I have no doubt, at the present time for an honest man, to be in Rome, is the worst form of misery.

Around 1580, Henry Denham starts using the semicolon "with propriety" for English texts, and more widespread usage picks up in the next decades.

Around 1640, in Ben Jonson's book The English Grammar, the character is described as "somewhat a longer breath" compared to the comma. The aim of the breathing, according to Jonson, is to aid understanding.

In 1644, in Richard Hodges' The English Primrose, it is written:

At a comma, stop a little; [...] At a semi-colon, somewhat more; [...] At a colon, a little more than the former; [...] At a period, make a full stop;

In 1762, in Robert Lowth's A Short Introduction to English Grammar, a parallel is drawn between punctuation marks and rest in music:

The Period is a pause in quantity or duration double of the Colon; the Colon is double of the Semicolon; and the Semicolon is double of the Comma. So that they are in the same proportion to one another as the Sembrief, the Minim, the Crotchet, and the Quaver, in Music.

In 1798, in Lindley Murray's English Grammar, the semicolon is introduced as follows:

The Semicolon is used for dividing a compound sentence into two or more parts, not so closely connected as those which are separated by a comma, nor yet so little dependent on each other, as those which are distinguished by a colon. The semicolon is sometimes used, when the preceding member of the sentence does not of itself give a complete sense, but depends on the following clause; and sometimes when the sense of that member would be complete without the concluding one; as in the following instances.

Natural languages

English

Although terminal marks (i.e. full stops, exclamation marks, and question marks) indicate the end of a sentence, the comma, semicolon, and colon are normally inside sentences, making them secondary boundary marks. In modern English orthography, the semicolon falls between terminal marks and the comma; its strength is equal to that of the colon.

The most common use of the semicolon is to join two independent clauses without using a conjunction such as the word and. Semicolons are followed by a lower case letter, unless that letter would ordinarily be capitalised mid-sentence (e.g., the word "I", acronyms/initialisms, or proper nouns). In older English printed texts, colons and semicolons are offset from the preceding word by a non-breaking space, a convention still current in modern continental French texts. Ideally, the space is less wide than the inter-word spaces. Some guides recommend separation by a hair space. Modern style guides recommend no space before them and one space after. They also typically recommend placing semicolons outside ending quotation marks, although this was not always the case. For example, the first edition of The Chicago Manual of Style (1906) recommended placing the semicolon inside ending quotation marks.

Uses of the semicolon in English include:

  • Super commaBetween items in a series or listing when the items contain internal punctuation, especially parenthetic commas, where the semicolons function as the serial commas for the series or listing. The semicolon divides the items on the list from each other, to avoid having a jumble of commas with differing functions which could cause confusion for the reader. This is sometimes called the "super comma" function of the semicolon:
    • The people present were Jamie, a man from New Zealand; John, the milkman's son; and George, a gaunt kind of man with no friends.
    • Several fast food restaurants can be found within the following cities: London, England; Paris, France; Dublin, Ireland; and Madrid, Spain.
    • Here are three examples of familiar sequences: one, two, and three; a, b, and c; first, second, and third.
    • (Fig. 8; see also plates in Harley 1941, 1950; Schwab 1947).
  • Between closely related independent clauses not conjoined with a coordinating conjunction, when the two clauses are balanced, opposed or contradictory:
    • My wife said she would like tea; coffee would have been my choice.
    • I went to the basketball court; it was closed for cleaning.
    • I told Kate she's running for the hills; she knew I was joking.
  • In rare instances, when a comma replaces a period (full stop) in a quotation, or when a quotation otherwise links two independent sentences:
    • "I have no use for this," he said; "you are welcome to it."
    • "Is this your book?" she asked; "I found it on the floor." In a list or sequence, if even one item needs its own internal comma, use of the semicolon as the separator throughout that list is justified, as shown by this example from the California Penal Code:{{Blockquote |text=A crime or public offense is an act committed or omitted in violation of a law forbidding or commanding it, and to which is annexed, upon conviction, either of the following punishments:
  1. Death;
  2. Imprisonment;
  3. Fine;
  4. Removal from office; or,
  5. Disqualification to hold and enjoy any office of honor, trust, or profit in this State.}}

Arabic

In Arabic, the semicolon is called fasila manqūta () which means literally "a dotted comma", and is written inverted . In Arabic, the semicolon has several uses:

  • It can be used between two clauses, in which the first clause causes the second.
    • Example: "He played a lot; so, his clothes became dirty". ()
  • It can be used between two clauses, where the second is a reason for the first.
    • Example: "Your sister did not get high marks; she didn't study". ()

Greek and Church Slavonic

Main article: Question mark#Greek question mark

In Greek and Church Slavonic, the Greek question mark () looks exactly like a Latin semicolon. To indicate a long pause or to separate sections that already contain commas (the semicolon's purposes in English), Greek uses, but extremely rarely, the 'upper dot' (), ****, which looks very similar to the Latin interpunct.

For example:

  • Church Slavonic sentence ending with a question mark: гдѣ єсть рождeйсѧ царь їудeйскій; (Where is the one who is born king of the Jews? – Matthew 2:1)
  • Greek sentence ending with a question mark: Τι είναι μια διασύνδεση; (What is a connection?)

French

In French, a semicolon (point-virgule, literally "dot-comma") is a separation between two full sentences, used where neither a colon nor a comma would be appropriate. The phrase following a semicolon has to be an independent clause, related to the previous one but not explaining it. (When the second clause explains the first one, French consistently uses a colon.)

The dash character is used in French writing too, but not as widely as the semicolon. Usage of these devices (semicolon and dash) varies from author to author.

Literature

Some authors have avoided and rejected the use of the semicolon throughout their works. Lynne Truss stated:

In response to Truss, Ben Macintyre, a columnist in The Times, wrote:

Semicolon use in British fiction has declined by 25% from 1991 to 2021.

Character encoding

In Unicode, the semicolon is encoded at , which is the same value it has in ASCII and the ISO/IEC 8859 encodings.

Unicode contains encoding for several other semicolon or semicolon-like characters:

  • – Arabic script
  • – Geʽez script
  • – used in old writing systems, such as Hungarian Runic and Sindhi language
  • – used in the APL programming language
  • – "indicates sudden glottal closure" in the International Phonetic Alphabet
  • – Bamum script
  • – determines orientation when wide-character scripts are written vertically instead of horizontally
  • – Small Form Variants are for compatibility with Chinese National Standard CNS 11643
  • – for use in wide-character scripts such as kanji
  • – deprecated tags block

Computing

Programming

In computer programming, the semicolon is often used to separate multiple statements (for example, in Perl, Pascal, and SQL; see Pascal: Semicolons as statement separators). In other languages, semicolons are called terminators{{cite web | access-date = 2011-07-29 | archive-date = 2011-09-29 | archive-url = https://web.archive.org/web/20110929062908/http://ssw.jku.at/Teaching/Lectures/CSharp/Tutorial/Part1.pdf | url-status = live | access-date = 2021-01-04 | archive-date = 2021-11-09 | archive-url = https://web.archive.org/web/20211109194134/http://bitsavers.org/pdf/ibm/360/pli/C28-6571-3_PL_I_Language_Specifications_Jul66.pdf | url-status = live | author-link = Bertrand Meyer | title-link = Object-Oriented Software Construction | author-link = Bertrand Meyer | url-status = live | archive-url = https://web.archive.org/web/20120109190541/http://se.ethz.ch/~meyer/publications/hoare/evolution.pdf | archive-date = 9 January 2012

Semicolons are optional in a number of languages, including BCPL, Python, R, Eiffel, and Go, meaning that they are part of the formal grammar for the language but can be inferred in many or all contexts (e.g., by end of line that ends a statement, as in Go and R). As languages can be designed without them, semicolons are considered an unnecessary nuisance by some.

The use of semicolons in control-flow structures and blocks of code is variedsemicolons are generally omitted after a closing brace, but included for a single statement branch of a control structure (the "then" clause), except in Pascal, where a semicolon terminates the entire if-then-else clause (to avoid dangling else) and thus is not allowed between a "then" and the corresponding "else", as this causes unnesting.

This use originates with ALGOL 60 and falls between the comma used as a list separatorand the period/full stop used to mark the end of the program. The semicolon, as a mark separating statements, corresponds to the ordinary English usage of separating independent clauses and gives the entire program the gross syntax of a single ordinary sentence. Of these other characters, whereas commas have continued to be widely used in programming for lists (and rare other uses, such as the comma operator that separates expressions in C), they are rarely used otherwise, and the period as the end of the program has fallen out of use. The last major use of the comma, semicolon, and period hierarchy is in Erlang (1986), where commas separate expressions; semicolons separate clauses, both for control flow and for function clauses; and periods terminate statements, such as function definitions or module attributes, not the entire program. Drawbacks of having multiple different separators or terminators (compared to a single terminator and single grouping, as in semicolon-and-braces) include mental overhead in selecting punctuation, and overhead in rearranging code, as this requires not only moving lines around, but also updating the punctuation.

In some cases the distinction between a separator and a terminator is strong, such as early versions of Pascal, where a final semicolon yields a syntax error. In other cases a final semicolon is treated either as optional syntax or as being followed by a null statement, which is either ignored or treated as a NOP (no operation or null command); compare trailing commas in lists. In some cases a blank statement is allowed, allowing a sequence of semicolons or the use of a semicolon by itself as the body of a control-flow structure. For example, a blank statement (a semicolon by itself) stands for a NOP in C/C++, which is useful in busy waiting synchronization loops.

APL uses semicolons to separate declarations of local variables and to separate axes when indexing multidimensional arrays, for example, matrix[2;3].

Other languages (for instance, some assembly languages and LISP dialects, CONFIG.SYS and INI files) use semicolons to mark the beginning of comments.

Data

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 and other spreadsheet applications, the semicolon is used as a list separator, especially in cases where the decimal separator is a comma, such as 0,32; 3,14; 4,50, instead of 0.32, 3.14, 4.50. It is also used as an function argument separator, when localization using comma as the decimal separator is used; for example: =SUMA(A1;D2) in the Czech localization of Excel is equivalent of =SUM(A1:D2) in the English-language localizations.

In Lua, semicolons or commas can be used to separate table elements.

In MATLAB and GNU Octave, the semicolon can be used as a row separator when defining a vector or matrix (whereas a comma separates the columns within a row of a vector or matrix) or to execute a command silently, without displaying the resulting output value in the console.

In HTML, a semicolon is used to terminate a character entity reference, either named or numeric. The declarations of a style attribute in Cascading Style Sheets (CSS) are separated and terminated with semicolons.

The file system of RSX-11 and OpenVMS, Files-11, uses semicolons to indicate a file's version number. The semicolon is permitted in long filenames in the Microsoft Windows file systems NTFS and VFAT, but not in its short names.

In some delimiter-separated values file formats, the semicolon is used as the separator character, as an alternative to comma-separated values.

Mathematics

In mathematical derivations, a semicolon is used to separate expressions in a sequence, similar to its use in spoken English, and may be considered either punctuation for the mathematical expressions, or as punctuation for the words spoken when reading the expressions. For example, completing the square:

::~ \mathrm{~ Given }; a x^2 + b x + c = 0 \quad \mathrm{ and } \quad a \ne 0 \ : ::\ \left[ x^2 + 2\ \frac{b}{\ 2a\ } x + \left( \frac{b}{\ 2a\ } \right)^2 \right] - \left( \frac{b}{\ 2a\ } \right)^2 + \frac{\ c\ }{a} = 0 \qquad \mathrm{ for\ all }; a \ne 0, ~~ \mathrm{ and\ any }; b, c \ ; ::\ \left[ x + \frac{b}{\ 2a\ } \right]^2 = \left( \frac{b}{\ 2a\ } \right)^2 - \frac{\ c\ }{a} \ ; ::\ \Biggl| x + \frac{b}{\ 2a\ } \Biggr| = \sqrt{\ \left( \frac{b}{\ 2a\ } \right)^2 - \frac{\ c\ }{a} ~~} \qquad \mathrm{ if } \quad x + \frac{b}{\ 2a\ } \in \mathbb{R} \quad \mathrm{ and ~} \quad \left( \frac{b}{\ 2a\ } \right)^2 - \frac{\ c\ }{a} \ge 0 ~.

In the argument list of a mathematical function \ f(x_1,\ x_2,\ \dots\ ;\ a_1,\ a_2,\ \dots) ; , a semicolon may be used to separate variables from fixed parameters.

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

In the calculus of relations, the semicolon is used in infix notation for the composition of relations: A;B \ =\ {(x,z): \exists y \ \ xAy \ \land\ yBz } ~.

In piecewise functions, a semicolon or comma may follow the subfunction or subdomain; the \text{if} or \text{for} can be omitted, in which case it seems replaced by the semicolon or comma.

The Humphrey point is sometimes used as the "decimal point" in duodecimal numbers: 54;612 equals 64.510.

Other uses

The semicolon is commonly used as part of emoticons in order to indicate winking or crying, as in ;) and ;_;.

Project Semicolon is the name of an anti-suicide initiative (since the semicolon continues a sentence rather than ending it) which has led to the punctuation mark becoming a highly symbolic and popular tattoo (most commonly done on the wrist). While some consider this to be faith-based, the movement is in general faith-neutral and inclusive of all people.

Notes

References

Sources

References

  1. "Learning English". [[British Broadcasting Corporation]].
  2. "Using semicolons".
  3. "Learning English grammar: How to correctly use a semicolon".
  4. "For Love of the Semicolon – Insights to English".
  5. (2012-08-09). "Pietro Bembo and the University Library copy of the De Aetna of 1496". Cambridge University Library.
  6. (1991). "Il "de Aetna" Di P. Bembo E Le Varianti Dell'edizione 1530". Aevum.
  7. (1496). "De Aetna". Aldus Manutius.
  8. (2004). "Pietro Bembo: Lover, Linguist, Cardinal". McGill-Queen's University Press.
  9. (1561). "Orthographiae ratio".
  10. (1786). "Typographical Antiquities: Or an Historical Account of the Origin and Progress of Printing in Great Britain and Ireland: Containing Memoirs of Our Ancient Printers, and a Register of Books Printed by Them, from the Year MCCCCLXXI to the Year MDC.".
  11. "Ben Jonson's The English Grammar".
  12. (1692). "The Works of Ben Jonson, which were Formerly Printed in Two Volumes, are Now Reprinted in One. (3rd folio)". Printed by Thomas Hodgkin, for H[enry] Herringman, E. Brewster, T. Bassett, R[ichard] Chiswell, M. Wotton, G. Conyers.
  13. (1640). "The English Grammar".
  14. (1969). "The English Primrose, 1644". Menston, (Yorks.) Scolar P..
  15. (1762). "A Short Introduction to English Grammar: with Critical Notes ...". J. Hughs.
  16. (1798). "English Grammar, Adapted to Different Classes of Learners. With an Appendix, Containing Rules and Observations, For Assisting The More Advanced Students to Write With Perspicuity and Accuracy.". Wilson, Spence, and Mawman.
  17. ''The Cambridge Grammar of the English Language'', Chapter 19, § 7.
  18. (7 January 2016). "Semicolon".
  19. (1978). "One book/five ways : the publishing procedures of five university presses". The Association of American University Presses.
  20. Spencer, Dave. (15 February 2011). "Review".
  21. "Purdue OWL: Commas". purdue.edu.
  22. (1872). "California Penal Code § 15". [[California Office of Legislative Counsel]].
  23. Paine, Stephen W.. (1961). "Beginning Greek: A functional approach". Oxford University Press.
  24. {{harvnb. Truss. 2004
  25. Nicholas, Nick. "Punctuation".
  26. MacIntyre, Ben. (19 November 2005). "Is it worth busting your (Lynne) truss over a comma with a hat on?". [[The Times]].
  27. Lloyd, Will. (24 November 2021). "The melancholy decline of the semicolon".
  28. (2009-07-22). "Proposal for encoding generic punctuation used with the Hungarian Runic script".
  29. (28 May 2022). "perlsyn - Perl syntax".
  30. (4 July 2021). "Free Pascal wiki".
  31. "Documentation: 15: 4.1. Lexical Structure".
  32. (23 February 2022). "The Java® Language Specification - Chapter 14. Blocks, Statements, and Patterns". Oracle.
  33. ISO/IEC JTC1/SC22/WG14. (7 September 2007). "ISO/IEC 9899:TC3 — Programming languages — C".
  34. Richards, Martin. (21 July 1967). "The BCPL Reference Manual".
  35. (22 January 2016). "The Python Language Reference - 7. Simple statements". Python Software Foundation.
  36. (31 October 2022). "R Language Definition".
  37. (2 September 2019). "Eiffel: The Syntax".
  38. (29 June 2022). "The Go Programming Language Specification".
  39. (1 January 1963). "Revised Report on the Algorithmic Language Algol 60".
  40. Katz, Damien. (9 March 2008). "What Sucks About Erlang".
  41. (April 2011). "Dyalog APL Language Reference Manual". Dyalog Limited.
  42. (28 August 2020). "Chapter 3: The NASM Language".
  43. "Common Lisp HyperSpec". LispWorks.
  44. (13 January 2022). "Lua 5.4 Reference Manual".
  45. (2 November 2022). "GNU Octave (version 7.3.0)". GNU Octave.
  46. (21 September 2022). "Entity".
  47. "CSS Syntax".
  48. "Ext File Specs, Using File Specification Differences". [[Consiglio Nazionale delle Ricerche]].
  49. (31 May 2018). "Filename - Win32 Apps". Microsoft.
  50. Weisstein, Eric W.. "Piecewise Function".
  51. Steyer, Carly. (7 July 2016). "RELIGION Global Semicolon Tattoo Trend Is A Sign Of Strength Among Faithful Individuals Dealing With Mental Health Problems". The Huffington Post.
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Semicolon — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report