2021-06-12 15:08:47 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
< html >
< head >
< title > Lexicon Element< / title >
< link href = "../docs-assets/Breadcrumbs.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< meta name = "viewport" content = "width=device-width initial-scale=1" >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
< meta http-equiv = "Content-Language" content = "en-gb" >
< link href = "../docs-assets/Contents.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Progress.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Navigation.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Fonts.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Base.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< script >
function togglePopup(material_id) {
var popup = document.getElementById(material_id);
popup.classList.toggle("show");
}
< / script >
< link href = "../docs-assets/Popups.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Colours.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< / head >
< body class = "commentary-font" >
< nav role = "navigation" >
< h1 > < a href = "../index.html" >
< img src = "../docs-assets/Inform.png" height = 72" >
< / a > < / h1 >
< ul > < li > < a href = "../compiler.html" > compiler tools< / a > < / li >
< li > < a href = "../other.html" > other tools< / a > < / li >
< li > < a href = "../extensions.html" > extensions and kits< / a > < / li >
< li > < a href = "../units.html" > unit test tools< / a > < / li >
< / ul > < h2 > Compiler Webs< / h2 > < ul >
< li > < a href = "../inbuild/index.html" > inbuild< / a > < / li >
< li > < a href = "../inform7/index.html" > inform7< / a > < / li >
< li > < a href = "../inter/index.html" > inter< / a > < / li >
< / ul > < h2 > Inbuild Modules< / h2 > < ul >
< li > < a href = "../supervisor-module/index.html" > supervisor< / a > < / li >
< / ul > < h2 > Inform7 Modules< / h2 > < ul >
< li > < a href = "../core-module/index.html" > core< / a > < / li >
< li > < a href = "../assertions-module/index.html" > assertions< / a > < / li >
< li > < a href = "../values-module/index.html" > values< / a > < / li >
< li > < a href = "../knowledge-module/index.html" > knowledge< / a > < / li >
< li > < a href = "../imperative-module/index.html" > imperative< / a > < / li >
< li > < a href = "../runtime-module/index.html" > runtime< / a > < / li >
< li > < a href = "../if-module/index.html" > if< / a > < / li >
< li > < a href = "../multimedia-module/index.html" > multimedia< / a > < / li >
2021-06-27 18:04:28 +03:00
< li > < a href = "index.html" > < span class = "selectedlink" > index< / span > < / a > < / li >
2021-06-12 15:08:47 +03:00
< / ul > < h2 > Inter Modules< / h2 > < ul >
< li > < a href = "../bytecode-module/index.html" > bytecode< / a > < / li >
< li > < a href = "../building-module/index.html" > building< / a > < / li >
2021-06-27 18:04:28 +03:00
< li > < a href = "../codegen-module/index.html" > codegen< / a > < / li >
2021-06-12 15:08:47 +03:00
< / ul > < h2 > Services< / h2 > < ul >
< li > < a href = "../arch-module/index.html" > arch< / a > < / li >
< li > < a href = "../calculus-module/index.html" > calculus< / a > < / li >
< li > < a href = "../html-module/index.html" > html< / a > < / li >
< li > < a href = "../inflections-module/index.html" > inflections< / a > < / li >
< li > < a href = "../kinds-module/index.html" > kinds< / a > < / li >
< li > < a href = "../linguistics-module/index.html" > linguistics< / a > < / li >
< li > < a href = "../problems-module/index.html" > problems< / a > < / li >
< li > < a href = "../syntax-module/index.html" > syntax< / a > < / li >
< li > < a href = "../words-module/index.html" > words< / a > < / li >
< li > < a href = "../../../inweb/docs/foundation-module/index.html" > foundation< / a > < / li >
< / ul >
< / nav >
< main role = "main" >
<!-- Weave of 'Lexicon Element' generated by Inweb -->
< div class = "breadcrumbs" >
2021-06-27 18:04:28 +03:00
< ul class = "crumbs" > < li > < a href = "../index.html" > Home< / a > < / li > < li > < a href = "../compiler.html" > Inter Modules< / a > < / li > < li > < a href = "index.html" > index< / a > < / li > < li > < a href = "index.html#3" > Chapter 3: Elements< / a > < / li > < li > < b > Lexicon Element< / b > < / li > < / ul > < / div >
2021-06-12 15:08:47 +03:00
< p class = "purpose" > To write the Lexicon element (Lx) in the index.< / p >
< p class = "commentary firstcommentary" > < a id = "SP1" class = "paragraph-anchor" > < / a > < b > § 1. < / b > < / p >
< pre class = "displayed-code all-displayed-code code-font" >
2021-07-05 01:04:18 +03:00
< span class = "reserved-syntax" > void< / span > < span class = "plain-syntax" > < / span > < span class = "function-syntax" > LexiconElement::render< / span > < button class = "popup" onclick = "togglePopup('usagePopup1')" > < span class = "comment-syntax" > ?< / span > < span class = "popuptext" id = "usagePopup1" > Usage of < span class = "code-font" > < span class = "function-syntax" > LexiconElement::render< / span > < / span > :< br / > The Periodic Table - < a href = "3-tpt.html#SP3" > § 3< / a > < / span > < / button > < span class = "plain-syntax" > (< / span > < span class = "identifier-syntax" > OUTPUT_STREAM< / span > < span class = "plain-syntax" > , < / span > < span class = "reserved-syntax" > localisation_dictionary< / span > < span class = "plain-syntax" > *< / span > < span class = "identifier-syntax" > LD< / span > < span class = "plain-syntax" > ) {< / span >
2021-07-09 00:56:01 +03:00
< span class = "plain-syntax" > < / span > < a href = "2-iu.html#SP4" class = "function-link" > < span class = "function-syntax" > IndexUtilities::anchor< / span > < / a > < span class = "plain-syntax" > (< / span > < span class = "identifier-syntax" > OUT< / span > < span class = "plain-syntax" > , < / span > < span class = "identifier-syntax" > I< / span > < span class = "string-syntax" > "LEXICON"< / span > < span class = "plain-syntax" > );< / span >
2021-06-12 15:08:47 +03:00
< span class = "plain-syntax" > < / span > < span class = "identifier-syntax" > HTML_OPEN< / span > < span class = "plain-syntax" > (< / span > < span class = "string-syntax" > "p"< / span > < span class = "plain-syntax" > );< / span >
< span class = "plain-syntax" > < / span > < span class = "identifier-syntax" > HTML_OPEN_WITH< / span > < span class = "plain-syntax" > (< / span > < span class = "string-syntax" > "span"< / span > < span class = "plain-syntax" > , < / span > < span class = "string-syntax" > "class=\"smaller\""< / span > < span class = "plain-syntax" > );< / span >
< span class = "plain-syntax" > < / span > < span class = "identifier-syntax" > WRITE< / span > < span class = "plain-syntax" > (< / span > < span class = "string-syntax" > "For instance, the description 'an unlocked door' is made "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "up from the adjective 'unlocked' and the noun 'door', both of which "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "can be found below. Property adjectives, like 'open', can be used "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "when creating things - 'In the Ballroom is an open container' is "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "allowed because 'open' is a property - but those with complicated "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "definitions, like 'empty', can only be tested during play, e.g. "< / span >
< span class = "plain-syntax" > < / span > < span class = "string-syntax" > "with rules like 'Instead of taking an empty container, ...'."< / span > < span class = "plain-syntax" > );< / span >
< span class = "plain-syntax" > < / span > < span class = "identifier-syntax" > HTML_CLOSE< / span > < span class = "plain-syntax" > (< / span > < span class = "string-syntax" > "span"< / span > < span class = "plain-syntax" > );< / span >
< span class = "plain-syntax" > < / span > < span class = "identifier-syntax" > HTML_CLOSE< / span > < span class = "plain-syntax" > (< / span > < span class = "string-syntax" > "p"< / span > < span class = "plain-syntax" > );< / span >
2021-07-17 01:25:58 +03:00
< span class = "plain-syntax" > < / span > < a href = "2-lxc.html#SP6" class = "function-link" > < span class = "function-syntax" > IndexLexicon::listing< / span > < / a > < span class = "plain-syntax" > (< / span > < span class = "identifier-syntax" > OUT< / span > < span class = "plain-syntax" > , < / span > < a href = "2-ii.html#SP6" class = "function-link" > < span class = "function-syntax" > InterpretIndex::get_lexicon< / span > < / a > < span class = "plain-syntax" > (), < / span > < span class = "identifier-syntax" > FALSE< / span > < span class = "plain-syntax" > , < / span > < span class = "identifier-syntax" > LD< / span > < span class = "plain-syntax" > );< / span >
2021-06-12 15:08:47 +03:00
< span class = "plain-syntax" > }< / span >
< / pre >
< nav role = "progress" > < div class = "progresscontainer" >
2021-07-05 01:04:18 +03:00
< ul class = "progressbar" > < li class = "progressprev" > < a href = "3-ie.html" > ❮ < / a > < / li > < li class = "progresschapter" > < a href = "1-im.html" > 1< / a > < / li > < li class = "progresschapter" > < a href = "2-il.html" > 2< / a > < / li > < li class = "progresscurrentchapter" > 3< / li > < li class = "progresssection" > < a href = "3-tpt.html" > tpt< / a > < / li > < li class = "progresssection" > < a href = "3-ae.html" > ae< / a > < / li > < li class = "progresssection" > < a href = "3-ae2.html" > ae2< / a > < / li > < li class = "progresssection" > < a href = "3-be.html" > be< / a > < / li > < li class = "progresssection" > < a href = "3-ce.html" > ce< / a > < / li > < li class = "progresssection" > < a href = "3-ce2.html" > ce2< / a > < / li > < li class = "progresssection" > < a href = "3-ce3.html" > ce3< / a > < / li > < li class = "progresssection" > < a href = "3-ce4.html" > ce4< / a > < / li > < li class = "progresssection" > < a href = "3-ee.html" > ee< / a > < / li > < li class = "progresssection" > < a href = "3-ee2.html" > ee2< / a > < / li > < li class = "progresssection" > < a href = "3-fe.html" > fe< / a > < / li > < li class = "progresssection" > < a href = "3-ge.html" > ge< / a > < / li > < li class = "progresssection" > < a href = "3-ge2.html" > ge2< / a > < / li > < li class = "progresssection" > < a href = "3-ie.html" > ie< / a > < / li > < li class = "progresscurrent" > le< / li > < li class = "progresssection" > < a href = "3-me.html" > me< / a > < / li > < li class = "progresssection" > < a href = "3-pe.html" > pe< / a > < / li > < li class = "progresssection" > < a href = "3-pe2.html" > pe2< / a > < / li > < li class = "progresssection" > < a href = "3-re.html" > re< / a > < / li > < li class = "progresssection" > < a href = "3-rfse.html" > rfse< / a > < / li > < li class = "progresssection" > < a href = "3-se.html" > se< / a > < / li > < li class = "progresssection" > < a href = "3-te.html" > te< / a > < / li > < li class = "progresssection" > < a href = "3-te2.html" > te2< / a > < / li > < li class = "progresssection" > < a href = "3-ve.html" > ve< / a > < / li > < li class = "progresssection" > < a href = "3-ve2.html" > ve2< / a > < / li > < li class = "progresschapter" > < a href = "4-mc.html" > 4< / a > < / li > < li class = "progressnext" > < a href = "3-me.html" > ❯ < / a > < / li > < / ul > < / div >
2021-06-12 15:08:47 +03:00
< / nav > <!-- End of weave -->
< / main >
< / body >
< / html >