Vertical bar

It has many names, often related to particular meanings: Sheffer stroke (in logic), pipe, bar, or (literally, the word "or"), vbar, and others.

Example, Zn | Zn2+ || Cu2+ | Cu Single vertical lines show components of the cell which do not mix, usually being in different phases.

Since the character was originally not available in all code pages and keyboard layouts, ANSI C can transcribe it in form of the trigraph ?

The double vertical bar operator "||" denotes string concatenation in PL/I, REXX, ooRexx, standard ANSI SQL, and theoretical computer science (particularly cryptography).

The vertical bar is used as a special character in lightweight markup languages, notably MediaWiki's Wikitext (in the templates and internal links).

In the Khoisan languages and the International Phonetic Alphabet, the vertical bar is used to write the dental click (ǀ).

Some Northwest and Northeast Caucasian languages written in the Cyrillic script have a vertical bar called palochka (Russian: палочка, lit.

Longer single and double vertical bars are used to mark prosodic boundaries in the IPA.

In medieval European manuscripts, a single vertical bar was a common variant of the virgula / used as a comma,[7] or caesura mark.

[7] In Sanskrit and other Indian languages, a single vertical mark, a danda, has a similar function as a period (full stop).

Two bars || (a 'double danda') is the equivalent of a pilcrow in marking the end of a stanza, paragraph or section.

A double vertical bar ⟨||⟩ or ⟨ǁ⟩ is the standard caesura mark in English literary criticism and analysis.

It is also traditionally used to mark the division between lines of verse printed as prose (the style preferred by Oxford University Press), though it is now often replaced by the forward slash.

In the Geneva Bible and early printings of the King James Version, a double vertical bar is used to mark margin notes that contain an alternative translation from the original text.

In later printings of the King James Version, the double vertical bar is irregularly used to mark any comment in the margins.

(The traditional order of these symbols in English is *, †, ‡, §, ‖, ¶, so its use is very rare; in modern usage, numbers and letters are preferred for endnotes and footnotes.

[8]) In music, when writing chord sheets, single vertical bars associated with a colon (|: A / / / :|) represents the beginning and end of a section (e.g.

[9] This draft received opposition from the IBM user group SHARE, with its chairman, H. W. Nelson, writing a letter to the American Standards Association titled "The Proposed revised American Standard Code for Information Interchange does NOT meet the needs of computer programmers!

In some dictionaries, the broken bar is used to mark stress that may be either primary or secondary: [¦ba] covers the pronunciations [ˈba] and [ˌba].

The code point 124 (7C hexadecimal ) is occupied by a broken bar in a dot matrix printer of the late 1980s, which apparently lacks a solid vertical bar. See the full picture .
US International keyboard showing broken bar on the keycap, even though pressing Shift + \ produces the solid vertical bar.
Full character set of IBM's Code page 437 rendered in VGA, which displays the broken bar glyph for codepoint 7C, despite the 1977 revision to ASCII