Hollerith constant (original) (raw)
Hollerith constants, named in honor of Herman Hollerith, were used in early FORTRAN programs to allow manipulation of character data. Early FORTRAN had no CHARACTER data type, only numeric types. In order to perform character manipulation, characters needed to be placed into numeric variables using Hollerith constants. For example, the constant 3HABC specified a three-character string "ABC", identified by the initial integer representing the string length 3 and the specified Hollerith character H, followed by the string data ABC. These constants were , so that there were no type conversion issues. If the constant specified fewer characters than was possible to hold in a data item, the characters were then stored in the item left-justified and blank-filled.
Property | Value |
---|---|
dbo:abstract | Hollerith constants, named in honor of Herman Hollerith, were used in early FORTRAN programs to allow manipulation of character data. Early FORTRAN had no CHARACTER data type, only numeric types. In order to perform character manipulation, characters needed to be placed into numeric variables using Hollerith constants. For example, the constant 3HABC specified a three-character string "ABC", identified by the initial integer representing the string length 3 and the specified Hollerith character H, followed by the string data ABC. These constants were , so that there were no type conversion issues. If the constant specified fewer characters than was possible to hold in a data item, the characters were then stored in the item left-justified and blank-filled. (en) |
dbo:wikiPageID | 5219725 (xsd:integer) |
dbo:wikiPageLength | 5414 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 882325725 (xsd:integer) |
dbo:wikiPageWikiLink | dbc:Fortran dbc:String_data_structures dbr:Type_conversion dbr:Data_type dbr:FORTRAN dbr:FORTRAN_66 dbr:Hello_world dbr:Herman_Hollerith dbr:Word_(data_type) dbr:Typeless |
dbp:wikiPageUsesTemplate | dbt:Cite_book dbt:Reflist dbt:Snd |
dcterms:subject | dbc:Fortran dbc:String_data_structures |
rdfs:comment | Hollerith constants, named in honor of Herman Hollerith, were used in early FORTRAN programs to allow manipulation of character data. Early FORTRAN had no CHARACTER data type, only numeric types. In order to perform character manipulation, characters needed to be placed into numeric variables using Hollerith constants. For example, the constant 3HABC specified a three-character string "ABC", identified by the initial integer representing the string length 3 and the specified Hollerith character H, followed by the string data ABC. These constants were , so that there were no type conversion issues. If the constant specified fewer characters than was possible to hold in a data item, the characters were then stored in the item left-justified and blank-filled. (en) |
rdfs:label | Hollerith constant (en) |
owl:sameAs | freebase:Hollerith constant yago-res:Hollerith constant wikidata:Hollerith constant https://global.dbpedia.org/id/4ms6y |
prov:wasDerivedFrom | wikipedia-en:Hollerith_constant?oldid=882325725&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:Hollerith_constant |
is dbo:wikiPageRedirects of | dbr:Hollerith_field dbr:Hollerith_string |
is dbo:wikiPageWikiLink of | dbr:String_literal dbr:Fortran dbr:Herman_Hollerith dbr:Netstring dbr:IGES dbr:Hollerith_field dbr:Hollerith_string |
is foaf:primaryTopic of | wikipedia-en:Hollerith_constant |