Printer Friendly
The Free Dictionary
987,835,415 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

subscript
(redirected from Subscript and superscript)

   Also found in: Wikipedia 0.04 sec.

(1) In word processing and scientific notation, a digit or symbol that appears below the line; for example, H2O, the symbol for water. Contrast with superscript.

(2) In programming, a method for referencing data in a table. For example, in pricetable, the statement to reference a specific price in the table might be pricetable (item), ITEM being the subscript variable. In a two-dimensional table that includes price and discount, the statement pricetable (item,discount) could reference a discounted price. The relative locations of the current ITEM and DISCOUNT are kept in two index registers.

(3) In programming, a method for referencing data in a character array. For example, in an array named keycode, keycode[0] would refer to the first byte (starting with 0), the [0] being the subscript notation. The second byte would be referenced with keycode[1] and so on. See pointer.


?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.