例子: <code>

These search results reproduce every example of the use of <code> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <code> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

23 Documentation Elements


23.1.1 Phrase Level Terms

<p>If the variable <ident>z</ident> has a value of zero, a statement such as <code>x=y/z</code> will
usually cause a fatal error.</p>
參考書目 ⚓︎

<code> (en)

<code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code>
全部顯示 ⚓︎

2 The TEI Header


<listPrefixDef> (en)

<listPrefixDef>
 <prefixDef ident="psn"
  matchPattern="([A-Z]+)"
  replacementPattern="personography.xml#$1">

  <p> Private URIs using the <code>psn</code>
     prefix are pointers to <gi>person</gi>
     elements in the personography.xml file.
     For example, <code>psn:MDH</code>
     dereferences to <code>personography.xml#MDH</code>.
  </p>
 </prefixDef>
 <prefixDef ident="bibl"
  matchPattern="([a-z]+[a-z0-9]*)"
  replacementPattern="http://www.example.com/getBibl.xql?id=$1">

  <p> Private URIs using the <code>bibl</code> prefix can be
     expanded to form URIs which retrieve the relevant
     bibliographical reference from www.example.com.
  </p>
 </prefixDef>
</listPrefixDef>
全部顯示 ⚓︎

9 Computer-mediated Communication


9.4.3 Multimodal CMC

<text>
 <body>
  <u xml:id="cmr-archi21-slrefl-es-j3-1-a191"
   who="#tingrabu"
   start="#cmr-archi21-slrefl-es-j3-1-ts373end="#cmr-archi21-slrefl-es-j3-1-ts430">
ok
     hm for me this presentation was hm <pause dur="PT1S"/> become too fast because it's
     always the same in our architecture school euh we have not time and hm <pause dur="PT1S"/> too quickly sorry [...]</u>
  <kinesic xml:id="cmr-archi21-slrefl-es-j3-1-a192"
   who="#romeorez"
   start="#cmr-archi21-slrefl-es-j3-1-ts376end="#cmr-archi21-slrefl-es-j3-1-ts377"
   type="bodysubtype="kinesics">

   <desc>
    <code>eat(popcorn)</code>
   </desc>
  </kinesic>
<!-- more bodily activities of avatars -->
  <post modality="written"
   generatedBy="humanxml:id="cmr-archi21-slrefl-es-j3-1-a195"
   who="#tfrez2"
   start="#cmr-archi21-slrefl-es-j3-1-ts380end="#cmr-archi21-slrefl-es-j3-1-ts381"
   type="chat-message">

   <p>it went too quickly?</p>
  </post>
 </body>
</text>
參考書目 ⚓︎

9.5.3 Documenting the Sampling of CMC data

<samplingDecl>
 <p>Sampled using the <name type="API">Twitter Filtered stream v2-API</name> (see <ptr type="APIdoc"
   target="https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/api-reference/get-tweets-search-stream"/>
) Filtered for the German language and the following countries: Germany, Austria,
   Belgium, Switzerland, Denmark, and Luxembourg. Downloaded on <date when="2022-12-12">Mon 12 Dec 22</date> using the command
 <code>requests.get("https://api.twitter.com/2/tweets/search/stream",
     headers=headers, params=params, stream=True,)</code> in the python script <name type="script">collectFilteredTwitterStream.py</name>. </p>
</samplingDecl>
⚓︎