An Entity of Type: album, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computer programming, conditional compilation is a compilation technique which results in an executable program that is able to be altered by changing specified parameters. This technique is commonly used when these alterations to the program are needed to run it on different platforms, or with different versions of required libraries or hardware. (* System generic code *)if mac != Null then (* macOS specific code *)else if pc != Null (* Windows specific code *) In C and some languages with a similar syntax, this is done using an '#ifdef' directive.

Property Value
dbo:abstract
  • In computer programming, conditional compilation is a compilation technique which results in an executable program that is able to be altered by changing specified parameters. This technique is commonly used when these alterations to the program are needed to run it on different platforms, or with different versions of required libraries or hardware. Many programming languages support conditional compilation. Typically compiler directives define or "undefine" certain variables; other directives test these variables and modify compilation accordingly. For example, not using an actual language, the compiler may be set to define "Macintosh" and undefine "PC", and the code may contain: (* System generic code *)if mac != Null then (* macOS specific code *)else if pc != Null (* Windows specific code *) In C and some languages with a similar syntax, this is done using an '#ifdef' directive. A similar procedure, using the name "conditional comment", is used by Microsoft Internet Explorer from version 5 to 9 to interpret HTML code. There is also a similar proprietary mechanism for adding conditional comments within JScript, known as conditional compilation. (en)
dbo:wikiPageID
  • 13297828 (xsd:integer)
dbo:wikiPageLength
  • 2236 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1107078551 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • In computer programming, conditional compilation is a compilation technique which results in an executable program that is able to be altered by changing specified parameters. This technique is commonly used when these alterations to the program are needed to run it on different platforms, or with different versions of required libraries or hardware. (* System generic code *)if mac != Null then (* macOS specific code *)else if pc != Null (* Windows specific code *) In C and some languages with a similar syntax, this is done using an '#ifdef' directive. (en)
rdfs:label
  • Conditional compilation (en)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License