Share on Facebook Share on Twitter Email
Answers.com

underscore

 
(ŭn'dər-skôr', -skōr') pronunciation
tr.v., -scored, -scor·ing, -scores.
  1. To underline.
  2. To emphasize; stress.
n.
A line drawn under writing to indicate emphasis or italic type.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia on Answers.com:

Underscore

Top
_

Underscore
Punctuation
apostrophe ( ’ ' )
brackets ( [ ], ( ), { }, ⟨ ⟩ )
colon ( : )
comma ( , )
dash ( , –, —, ― )
ellipsis ( …, ..., . . . )
exclamation mark ( ! )
full stop/period ( . )
guillemets ( « » )
hyphen ( )
hyphen-minus ( - )
question mark ( ? )
quotation marks ( ‘ ’, “ ”, ' ', " " )
semicolon ( ; )
slash/stroke ( / )
solidus ( )
Word dividers
space ( ) ( ) ( ) (␠) (␢) (␣)
interpunct ( · )
General typography
ampersand ( & )
at sign ( @ )
asterisk ( * )
backslash ( \ )
bullet ( )
caret ( ^ )
dagger ( †, ‡ )
degree ( ° )
ditto mark ( )
inverted exclamation mark ( ¡ )
inverted question mark ( ¿ )
number sign/pound/hash/octothorpe ( # )
numero sign ( )
obelus ( ÷ )
ordinal indicator ( º, ª )
percent etc. ( %, ‰, )
pilcrow ( )
prime ( ′, ″, ‴ )
section sign ( § )
tilde ( ~ )
underscore/understrike ( _ )
vertical/broken bar, pipe ( ¦, | )
Intellectual property
copyright symbol ( © )
registered trademark ( ® )
sound recording copyright ( )
service mark ( )
trademark ( )
Currency
currency (generic) ( ¤ )
currency (specific)
( ฿ ¢ $ ƒ £ ¥ )
Uncommon typography
asterism ( )
tee ( )
up tack ( )
index/fist ( )
therefore sign ( )
because sign ( )
interrobang ( )
irony punctuation ( ؟ )
lozenge ( )
reference mark ( )
tie ( )
Related
diacritical marks
whitespace characters
non-English quotation style ( « », „ ” )
Wikipedia book Book  · Category Category  · Portal

The underscore [ _ ] (also called understrike, low line, or low dash) is a character that originally appeared on the typewriter and was primarily used to underline words. To produce an underlined word, the word was typed, the typewriter carriage was moved back to the beginning of the word, and the word was overtyped with the underscore character.

This character is sometimes used to create visual spacing within a sequence of characters, where a whitespace character is not permitted, e.g., in computer filenames, e-mail addresses, and in World Wide Web URLs. Some computer applications will automatically underline text surrounded by underscores: _underlined_ will render underlined. It is often used in ASCII-only media (E-mail, IRC, Instant Messaging) for this purpose. When the underscore is used for emphasis in this fashion, it is usually interpreted as indicating that the enclosed text is underlined or italicized (as opposed to bold, which is indicated by *asterisks*).

The underscore is not the same character as the dash character, although one convention for text news wires is to use an underscore when an em-dash or en-dash is desired, or when other non-standard characters such as bullets would be appropriate. A series of underscores (like [ _________ ]) may be used to create a blank to be filled in on a form. It is also sometimes used to create a horizontal line, if no other method is available; hyphens and dashes are often used for a similar purpose.

The ASCII value of this character is 95. On the standard US or UK 101/102 computer keyboard it shares a key with the hyphen on the top row, to the right of the 0 key.

Contents

Diacritic

The underscore is used as a diacritic mark, "combining low line", in some African languages (some languages using the Orthography of Gabon languages or Rapidolangue in Gabon, Izere in Nigeria) and Native American languages (Shoshoni).

Not to be confused is the combining macron below.

Usage in computing

Origins in identifiers

In programs of any significant size, there is a need for descriptive (hence multi-word) identifiers, like "previous balance" or "end of file". However, spaces are not typically permitted inside identifiers, as they are treated as delimiters between tokens. Writing the words together as in "endoffile" is not satisfactory because the names often become unreadable. Therefore, the programming language COBOL allowed a hyphen ("-") to be used between words of compound identifiers, as in "END-OF-FILE". LISP also allowed the hyphen in names, treating the subtraction operator as an identifier.

Most programming languages, however, interpret the hyphen as a subtraction operator and do not allow the character in identifier names. The common punched card character sets of the early 1960s had no lower-case letters and no special character that would be adequate as a word separator in identifiers. IBM's EBCDIC character coding system, introduced in 1964 at the same time as the IBM System/360 computer series, uses 8 bits per byte. A modest increase in the character set size over earlier character sets added a few punctuation characters, including the underscore, which IBM referred to as the break character, but not lower case (later editions of EBCDIC added lower case). IBM's report on NPL (the early name of what is now called PL/I) leaves the character set undefined, but specifically mentions the break character, and gives RATE_OF_PAY as an example identifier.[1] By 1967, the underscore had spread to ASCII,[2] replacing the similarly shaped left-arrow character (←) previously residing at code point 95 (5F hex) in ASCII-1963 (see also: PIP). C, developed at Bell Labs in the early 1970s, allowed the underscore as an alphabetic character.[3]

Use in other languages

Ruby and Perl use $_ as a special variable described as the “default input and pattern matching space” — any output defaults to that variable, and may be omitted. In Perl, @_ is a special array variable that holds the arguments to a function.

In some languages with pattern matching, such as Standard ML, OCaml, and Haskell, the pattern _ matches any value, but does not perform binding.

See also

References


Translations:

Underscore

Top

Dansk (Danish)
v. tr. - understrege
n. - understregning

Nederlands (Dutch)
onderstrepen/ benadrukken, onderstreping/ streep

Français (French)
v. tr. - (lit, fig) souligner
n. - soulignement, (fig) insistance

Deutsch (German)
n. - Unterstreichung
v. - unterstreichen

Ελληνική (Greek)
n. - υπογράμμιση
v. - υπογραμμίζω

Italiano (Italian)
sottolineatura, sottolineare

Português (Portuguese)
n. - grifo (m)
v. - sublinhar

Русский (Russian)
подчеркивать, делать ударение

Español (Spanish)
v. tr. - subrayar, recalcar, hacer hincapié
n. - subrayado, raya (debajo de una palabra, etc.)

Svenska (Swedish)
n. - understrykning
v. - stryka under, betona

中文(简体)(Chinese (Simplified))
划线于...下, 强调, 底线

中文(繁體)(Chinese (Traditional))
v. tr. - 劃線於...下, 強調
n. - 底線

한국어 (Korean)
v. tr. - 아래에 선을 긋다, 강조하다
n. - 밑줄, 하선

日本語 (Japanese)
v. - 下に線を引く, 強調する, 下線を引く
n. - 下線, アンダーライン, 次の興行の予告

العربيه (Arabic)
‏(الاسم) وضع خطا تحت كلمه لابرازها‏

עברית (Hebrew)
v. tr. - ‮מתח קו מתחת ל-, הדגיש, הבליט‬
n. - ‮קו מתחת למילה, כיתוב מתחת לאיור‬


Best of the Web:

underscore

Top

Some good "underscore" pages on the web:


Math
mathworld.wolfram.com
 
 
 
Related topics:
understroke
underline
James Bond Greatest Hits (1982 Album by Various Artists)

Related answers:
How do you make an underscore? Read answer...
What is the opposite of underscore? Read answer...
How do you underscore a email address? Read answer...

Help us answer these:
How do you underscore a name?
How do you underscore j?
Who manufactures underscore?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

American Heritage Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Roget's Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 byHoughton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved.  Read more
 Rhymes. Oxford University Press. © 2006, 2007 All rights reserved.  Read more
Wikipedia on Answers.com. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article Underscore Read more
Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved.  Read more

Follow us
Facebook Twitter
YouTube

Mentioned in

» More» More