Semicolons
   HOME

TheInfoList



OR:

The semicolon or semi-colon is a symbol commonly used as orthographic
punctuation Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud. An ...
. In the
English language English is a West Germanic language of the Indo-European language family, with its earliest forms spoken by the inhabitants of early medieval England. It is named after the Angles, one of the ancient Germanic peoples that migrated to the is ...
, a semicolon is most commonly used to link (in a single sentence) two independent clauses that are closely related in thought. 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 the items in a list, particularly when the elements of that list contain
comma The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
s. The semicolon is one of the least understood of the standard marks, and so it is not as frequently used by many
English speakers English is a West Germanic language of the Indo-European language family, with its earliest forms spoken by the inhabitants of early medieval England. It is named after the Angles, one of the ancient Germanic peoples that migrated to the is ...
. In the
QWERTY QWERTY () is a keyboard layout for Latin-script alphabets. The name comes from the order of the first six Computer keyboard keys#Types, keys on the top left letter row of the keyboard ( ). The QWERTY design is based on a layout created f ...
keyboard layout, the semicolon resides in the unshifted homerow beneath the little finger of the right hand and has become widely used in
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s as a statement separator or ''terminator''.


History

In 1496, the semicolon is attested in
Pietro Bembo Pietro Bembo, ( la, Petrus Bembus; 20 May 1470 – 18 January 1547) was an Italian scholar, poet, and literary theorist who also was a member of the Knights Hospitaller, and a cardinal of the Roman Catholic Church. As an intellectual of the It ...
's book ' printed by
Aldo Manuzio Aldus Pius Manutius (; it, Aldo Pio Manuzio; 6 February 1515) was an Italian printer and humanist who founded the Aldine Press. Manutius devoted the later part of his life to publishing and disseminating rare texts. His interest in and preserv ...
. The punctuation also appears in later writings of Bembo. Moreover, it is used in 1507 by
Bartolomeo Sanvito Bartolomeo Sanvito (February/March 1433–July 1511) was a scribe from Padua Padua ( ; it, Padova ; vec, Pàdova) is a city and ''comune'' in Veneto, northern Italy. Padua is on the river Bacchiglione, west of Venice. It is the capital of ...
, who was close to Manuzio's circle. In 1561, Manuzio's grandson, also called
Aldo Manuzio Aldus Pius Manutius (; it, Aldo Pio Manuzio; 6 February 1515) was an Italian printer and humanist who founded the Aldine Press. Manutius devoted the later part of his life to publishing and disseminating rare texts. His interest in and preserv ...
, 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 The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
, 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; yours, 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 Henry Denham was one of the outstanding English printers of the sixteenth century. He was apprenticed to Richard Tottel and took up the freedom of the Stationers' Company on 30 August 1560. In 1564 he set up his own printing house in White Cros ...
starts using the semicolon "with propriety" for English texts and more widespread usage picks up in the next decades. Around 1640, in
Ben Jonson Benjamin "Ben" Jonson (c. 11 June 1572 – c. 16 August 1637) was an English playwright and poet. Jonson's artistry exerted a lasting influence upon English poetry and stage comedy. He popularised the comedy of humours; he is best known for t ...
's book ''The English Grammar'', the character is described as "somewhat a longer breath" compared to the
comma The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
. 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 Robert Lowth ( ; 27 November 1710 – 3 November 1787) was a Bishop of the Church of England, Oxford Professor of Poetry and the author of one of the most influential textbooks of English grammar. Life Lowth was born in Hampshire, England, G ...
's ''A Short Introduction to English Grammar'', a parallel is drawn between
punctuation marks Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud. An ...
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 The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
. So that they are in the same proportion to one another as the Sembrief, the Minim, the
Crotchet A quarter note (American) or crotchet ( ) (British) is a musical note played for one quarter of the duration of a whole note (or semibreve). Quarter notes are notated with a filled-in oval note head and a straight, flagless stem. The stem u ...
, and the Quaver, in Music.
In 1798, in
Lindley Murray Lindley Murray (7 June 1745 – 16 February 1826) was an American Quaker lawyer, writer and grammarian, best known for his English-language grammar books used in schools in England and the United States. Early life Lindley Murray was born ...
's ''English Grammar'', the semicolon is introduced as follows:
The Semicolon is used for dividing a
compound sentence In grammar, sentence and clause structure, commonly known as sentence composition, is the classification of sentences based on the number and kind of clauses in their syntactic structure. Such division is an element of traditional grammar. Typolog ...
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 In language, a clause is a constituent that comprises a semantic predicand (expressed or not) and a semantic predicate. A typical clause consists of a subject and a syntactic predicate, the latter typically a verb phrase composed of a verb with ...
; and sometimes when the sense member would be complete without the concluding one; ..


Natural languages


English

Although terminal marks (i.e.
full stop The full stop (Commonwealth English), period (North American English), or full point , is a punctuation mark. It is used for several purposes, most often to mark the end of a declarative sentence (as distinguished from a question or exclamation ...
s, exclamation marks, and
question mark The question mark (also known as interrogation point, query, or eroteme in journalism) is a punctuation mark that indicates an interrogative clause or phrase in many languages. History In the fifth century, Syriac Bible manuscripts used ques ...
s) indicate the end of a sentence, the
comma The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
, semicolon, and colon are normally sentence-internal, making them secondary boundary marks. The semicolon falls between terminal marks and the comma; its strength is equal to that of the colon. The plural of semicolon in English is ''semicola'' or ''semicolons''. The most common use of the semicolon is to join two independent clauses without using a conjunction like "and". Semicolons are followed by a
lower case Letter case is the distinction between the letters that are in larger uppercase or capitals (or more formally ''majuscule'') and smaller lowercase (or more formally ''minuscule'') in the written representation of certain languages. The writing ...
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 present-day continental French texts. Ideally, the space is less wide than the inter-word spaces. Some guides recommend separation by a
hair space In computer programming, whitespace is any character or series of characters that represent horizontal or vertical space in typography. When rendered, a whitespace character does not correspond to a visible mark, but typically does occupy an area ...
. Modern
style guide A style guide or manual of style is a set of standards for the writing, formatting, and design of documents. It is often called a style sheet, although that term also has multiple other meanings. The standards can be applied either for gene ...
s recommend no space before them and one space after. They also typically recommend placing semicolons outside ending
quotation mark Quotation marks (also known as quotes, quote marks, speech marks, inverted commas, or talking marks) are punctuation marks used in pairs in various writing systems to set off direct speech, a quotation, or a phrase. The pair consists of an ...
s, 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. Applications of the semicolon in English include: * Between items in a series or listing when the items contain internal
punctuation Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud. An ...
, especially parenthetic commas, where the semicolons function as the serial commas for the entire 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 In grammar, a conjunction (abbreviated or ) is a part of speech that connects words, phrases, or clauses that are called the conjuncts of the conjunctions. That definition may overlap with that of other parts of speech and so what constitutes a ...
, when the two clauses are balanced, opposed or contradictory: **My wife would like tea; I would prefer coffee. **I went to the basketball court; I was told it was closed for cleaning. **I told Kate she's running for the hills; I wonder if 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 The Penal Code of California forms the basis for the application of most criminal law, criminal procedure, penal institutions, and the execution of sentences, among other things, in the American state of California. It was originally enacted ...
:


Arabic

In
Arabic Arabic (, ' ; , ' or ) is a Semitic languages, Semitic language spoken primarily across the Arab world.Semitic languages: an international handbook / edited by Stefan Weninger; in collaboration with Geoffrey Khan, Michael P. Streck, Janet C ...
, the semicolon is called ''fasila manqoota'' ( ar, فاصلة منقوطة, links=no) which means literally "a dotted comma", and is written inverted . In Arabic, the semicolon has several uses: * It can be used between two phrases, in which the first phrase causes the second. ** Example: "He played a lot; so, his clothes became dirty". ( ar, لَعِبَ كَثِيرًا؛ فَٱتَّسَخَتْ مَلَابِسُهُ., links=no) * It can be used between two phrases, where the second is ''a reason'' for the first. ** Example: "Your sister did not get high marks; she didn't study". ( ar, لم تحقق أختك درجات عالية؛ لأنها لم تدرس ., links=no)


Greek, Church Slavonic

In Greek and
Church Slavonic Church Slavonic (, , literally "Church-Slavonic language"), also known as Church Slavic, New Church Slavonic or New Church Slavic, is the conservative Slavic liturgical language used by the Eastern Orthodox Church in Belarus, Bosnia and Herzeg ...
, the question mark looks exactly the way a semicolon looks in English, similar to the
question mark The question mark (also known as interrogation point, query, or eroteme in journalism) is a punctuation mark that indicates an interrogative clause or phrase in many languages. History In the fifth century, Syriac Bible manuscripts used ques ...
used in Latin. 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 el, άνω τελεία, translit=áno teleía, translation=up dot, size=100%, links=no, an
Interpunct An interpunct , also known as an interpoint, middle dot, middot and centered dot or centred dot, is a punctuation mark consisting of a vertically centered dot used for interword separation in ancient Latin script. (Word-separating spaces did no ...
. Church Slavonic with a question mark: гдѣ єсть рождeйсѧ царь їудeйскій; (Where is the one who is born king of the Jews? – Matthew 2:1) Greek with a question mark: Τι είναι μια διασύνδεση; (What is an interpunct?)


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 The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen b ...
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 usage of the semicolon throughout their works. Lynne Truss stated: In response to Truss,
Ben Macintyre Benedict Richard Pierce Macintyre (born 25 December 1963) is a British author, reviewer and columnist for ''The Times'' newspaper. His columns range from current affairs to historical controversies. Early life Macintyre is the elder son of Ang ...
, a columnist in ''
The Times ''The Times'' is a British daily national newspaper based in London. It began in 1785 under the title ''The Daily Universal Register'', adopting its current name on 1 January 1788. ''The Times'' and its sister paper ''The Sunday Times'' (fou ...
'', wrote: Semicolon use in British fiction has declined by 25% from 1991 to 2021.


Character encoding

The semicolon has an assigned value in computer
character encoding Character encoding is the process of assigning numbers to Graphics, graphical character (computing), characters, especially the written characters of Language, human language, allowing them to be Data storage, stored, Data communication, transmi ...
standards. In
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
it is encoded as , in EBCDIC it is encoded as , and in
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
it is encoded as . Unicode contains encoding for several semicolon characters: * – inherited from ASCII * * –
Arabic script The Arabic script is the writing system used for Arabic and several other languages of Asia and Africa. It is the second-most widely used writing system in the world by number of countries using it or a script directly derived from it, and the ...
* – Geʽez script * – used in old writing systems, such as Hungarian Runic and
Sindhi language Sindhi ( ; , ) is an Indo-Aryan language spoken by about 30 million people in the Pakistani province of Sindh, where it has official status. It is also spoken by a further 1.7 million people in India, where it is a Scheduled languages of India ...
* – used in the
APL programming language APL (named after the book ''A Programming Language'') is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols to represent mos ...
* – "indicates sudden glottal closure" * –
Bamum script The Bamum scripts are an evolutionary series of six scripts created for the Bamum language by Ibrahim Njoya, King of Bamum (now western Cameroon) at the turn of the 19th century. They are notable for evolving from a pictographic system to a se ...
* – determines orientation when wide-character scripts are written vertically instead of horizontally * – Small Form Variants are for compatibility with Chinese National Standard
CNS 11643 The CNS 11643 character set (Chinese National Standard 11643), also officially known as the Chinese Standard Interchange Code or CSIC ( zh, tr=, t=中文標準交換碼), is officially the standard character set of Taiwan (Republic of China). In p ...
* – for use in wide-character scripts such as
kanji are the logographic Chinese characters taken from the Chinese family of scripts, Chinese script and used in the writing of Japanese language, Japanese. They were made a major part of the Japanese writing system during the time of Old Japanese ...
* – deprecated tags block


Computing


Programming

In
computer programming Computer programming is the process of performing a particular computation (or more generally, accomplishing a specific computing result), usually by designing and building an executable computer program. Programming involves tasks such as ana ...
, the semicolon is often used to separate multiple statements (for example, in
Perl Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offici ...
,
Pascal Pascal, Pascal's or PASCAL may refer to: People and fictional characters * Pascal (given name), including a list of people with the name * Pascal (surname), including a list of people and fictional characters with the name ** Blaise Pascal, Fren ...
, and SQL; see Pascal: Semicolons as statement separators). In other languages, semicolons are called ''terminator''s. and are required after every statement (such as in PL/I,
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
, and the C family). Today semicolons as terminators has largely won out, but this was a divisive issue in programming languages from the 1960s into the 1980s. An influential and frequently cited study in this debate was , which concluded strongly in favor of semicolon as a terminator: "The most important esultwas that having a semicolon as a statement terminator was better than having a semicolon as a statement separator." The study has been criticized as flawed by proponents of semicolon as a separator, due to participants being familiar with a semicolon-as-terminator language and unrealistically strict grammar. Nevertheless, the debate ended in favor of semicolon as terminator. Therefore, semicolon provides structure to the programming language. Semicolons are optional in a number of languages, including
BCPL BCPL ("Basic Combined Programming Language") is a procedural, imperative, and structured programming language. Originally intended for writing compilers for other languages, BCPL is no longer in common use. However, its influence is still ...
,
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (pro ...
, R,
Eiffel Eiffel may refer to: Places * Eiffel Peak, a summit in Alberta, Canada * Champ de Mars – Tour Eiffel station, Paris, France; a transit station Structures * Eiffel Tower, in Paris, France, designed by Gustave Eiffel * Eiffel Bridge, Ungheni, M ...
, 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 varied – semicolons 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 ALGOL 60 (short for ''Algorithmic Language 1960'') is a member of the ALGOL family of computer programming languages. It followed on from ALGOL 58 which had introduced code blocks and the begin and end pairs for delimiting them, representing a k ...
and falls between the comma used as a list separator and 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 In the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type); there ...
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 comma Coding conventions are a set of guidelines for a specific programming language that recommend programming style, practices, and methods for each aspect of a program written in that language. These conventions usually cover file organization, inde ...
s 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 Synchronization is the coordination of events to operate a system in unison. For example, the conductor of an orchestra keeps the orchestra synchronized or ''in time''. Systems that operate with all parts in synchrony are said to be synchronou ...
loops. APL uses semicolons to separate declarations of local variables and to separate axes when indexing multidimensional arrays, for example, matrix ;3/code>. Other languages (for instance, some
assembly language In computer programming, assembly language (or assembler language, or symbolic machine code), often referred to simply as Assembly and commonly abbreviated as ASM or asm, is any low-level programming language with a very strong correspondence be ...
s and
LISP A lisp is a speech impairment in which a person misarticulates sibilants (, , , , , , , ). These misarticulations often result in unclear speech. Types * A frontal lisp occurs when the tongue is placed anterior to the target. Interdental lisping ...
dialects,
CONFIG.SYS CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special ASCII text file that contains user-accessible setup or configuration directives evaluated by the operating system's DOS BIOS (typically residing ...
and INI files) use semicolons to mark the beginning of
comments Comment may refer to: * Comment (linguistics) or rheme, that which is said about the topic (theme) of a sentence * Bernard Comment (born 1960), Swiss writer and publisher Computing * Comment (computer programming), explanatory text or informa ...
. Example C code: int main() Or in
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
: var x = 1; var y = 2; alert("X + Y = " + (x + y)); Conventionally, in many languages, each statement is written on a separate line, but this is not typically a requirement of the language. In the above examples, two statements are placed on the same line; this is legal, because the semicolon separates the two statements. Thus programming languages like Java, the C family, Javascript etc. use semicolons to obtain a proper structure in the respective languages.


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 Microsoft Excel is a spreadsheet developed by Microsoft for Microsoft Windows, Windows, macOS, Android (operating system), Android and iOS. It features calculation or computation capabilities, graphing tools, pivot tables, and a macro (comp ...
, 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. In Lua, semicolons or commas can be used to separate table elements. In
MATLAB MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation ...
and
GNU Octave GNU Octave is a high-level programming language primarily intended for scientific computing and numerical computation. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a langu ...
, 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 The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
, a semicolon is used to terminate a
character entity reference Character or Characters may refer to: Arts, entertainment, and media Literature * ''Character'' (novel), a 1936 Dutch novel by Ferdinand Bordewijk * ''Characters'' (Theophrastus), a classical Greek set of character sketches attributed to The ...
, either named or numeric. The declarations of a style attribute in
Cascading Style Sheets Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS is a cornerstone techno ...
(CSS) are separated and terminated with semicolons. The file system of RSX-11 and
OpenVMS OpenVMS, often referred to as just VMS, is a multi-user, multiprocessing and virtual memory-based operating system. It is designed to support time-sharing, batch processing, transaction processing and workstation applications. Customers using Ope ...
,
Files-11 Files-11 is the file system used by Digital Equipment Corporation OpenVMS operating system, and also (in a simpler form) by the older RSX-11. It is a hierarchical file system, with support for access control lists, record-oriented I/O, remote ...
, uses semicolons to indicate a file's version number. The semicolon is permitted in
long filename Long filename (LFN) support is Microsoft's backward-compatible extension of the 8.3 filename (short filename) naming scheme used in DOS. Long filenames can be more descriptive, including longer filename extensions such as .jpeg, .tiff, .html, a ...
s in the
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
file systems NTFS and
VFAT File Allocation Table (FAT) is a file system developed for personal computers. Originally developed in 1977 for use on floppy disks, it was adapted for use on hard disks and other devices. It is often supported for compatibility reasons by c ...
, 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 A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separat ...
.


Mathematics

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 Differential geometry is a mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of differential calculus, integral calculus, linear algebra and multili ...
, a semicolon preceding an
index Index (or its plural form indices) may refer to: Arts, entertainment, and media Fictional entities * Index (''A Certain Magical Index''), a character in the light novel series ''A Certain Magical Index'' * The Index, an item on a Halo megastru ...
is used to indicate the
covariant derivative In mathematics, the covariant derivative is a way of specifying a derivative along tangent vectors of a manifold. Alternatively, the covariant derivative is a way of introducing and working with a connection on a manifold by means of a different ...
of a function with respect to the coordinate associated with that index. In the calculus of relations, the semicolon is used in
infix notation Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—" infixed operators"—such as the plus sign in . Usage Binary relations a ...
for the
composition of relations In the mathematics of binary relations, the composition of relations is the forming of a new binary relation from two given binary relations ''R'' and ''S''. In the calculus of relations, the composition of relations is called relative multiplica ...
: A;B \ =\ \ . The '' Humphrey point'' is sometimes used as the " decimal point" in
duodecimal The duodecimal system (also known as base 12, dozenal, or, rarely, uncial) is a positional notation numeral system using twelve as its base. The number twelve (that is, the number written as "12" in the decimal numerical system) is instead wri ...
numbers: 54;612 equals 64.510.


Other uses

The semicolon is commonly used as parts of emoticons, in order to indicate winking or crying, as in ;) and ;_;.
Project Semicolon Project Semicolonstylized as Project ;is an American nonprofit organization known for its advocacy of mental health wellness and its focus as an anti-suicide initiative. Founded in 2013, the movement's aim is "presenting hope and love to those w ...
is the name of a
faith-based Faith-based may refer to: * Faith-based organization * Faith-based community organizing * Faith-based school * White House Office of Faith-Based and Neighborhood Partnerships * Faith Based (film) ''Faith Based'' is a 2020 American comedy film ...
anti-
suicide Suicide is the act of intentionally causing one's own death. Mental disorders (including depression, bipolar disorder, schizophrenia, personality disorders, anxiety disorders), physical disorders (such as chronic fatigue syndrome), and s ...
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 A tattoo is a form of body modification made by inserting tattoo ink, dyes, and/or pigments, either indelible or temporary, into the dermis layer of the skin to form a design. Tattoo artists create these designs using several Process of tatt ...
, which is most commonly done on the
wrist In human anatomy, the wrist is variously defined as (1) the Carpal bones, carpus or carpal bones, the complex of eight bones forming the proximal skeletal segment of the hand; "The wrist contains eight bones, roughly aligned in two rows, known ...
.


See also

* Colon *
Comma The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline ...
*
Period (punctuation) The full stop (Commonwealth English), period (North American English), or full point , is a punctuation mark. It is used for several purposes, most often to mark the end of a declarative sentence (as distinguished from a question or exclamation ...


Notes


References

Sources * *


Further reading

* * * * * {{Authority control Punctuation