| 1 | <refentry id="parameter.element"> |
| 2 | <?dbhtml filename="parameter.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>parameter</secondary></indexterm> |
| 11 | <refentrytitle>parameter</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>parameter</refname> |
| 16 | <refpurpose>¶meter.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | ¶meter.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Parameter</sgmltag> identifies something passed from one part of a |
| 24 | computer system to another. In this regard <sgmltag>Parameter</sgmltag> is |
| 25 | fairly generic, but it may have a more constrained semantic in some |
| 26 | contexts (for example in a <sgmltag>ParamDef</sgmltag>). |
| 27 | </para> |
| 28 | |
| 29 | <para> |
| 30 | In a document that describes more than one kind of parameter, |
| 31 | for example, parameters to functions and commands, the |
| 32 | <sgmltag class='attribute'>Class</sgmltag> attribute can be used to distinguish |
| 33 | between them, if necessary. |
| 34 | </para> |
| 35 | |
| 36 | <refsect2><title>Processing expectations</title> |
| 37 | <para> |
| 38 | &format.inline; &pexp.moreinfo; |
| 39 | </para> |
| 40 | </refsect2> |
| 41 | |
| 42 | <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 43 | <para> |
| 44 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary> |
| 45 | </indexterm> |
| 46 | In DocBook <acronym>V4.0</acronym>, the content model of <sgmltag>Parameter</sgmltag> will |
| 47 | be constrained to <literal>(#PCDATA | Replaceable | |
| 48 | InlineGraphic)</literal>. |
| 49 | </para> |
| 50 | </refsect2> |
| 51 | |
| 52 | |
| 53 | ¶meter.parents.gen; |
| 54 | ¶meter.children.gen; |
| 55 | </refsect1> |
| 56 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 57 | <variablelist> |
| 58 | <varlistentry><term>class</term> |
| 59 | <listitem> |
| 60 | <para> |
| 61 | <sgmltag class="attribute">Class</sgmltag> indicates the type of |
| 62 | <sgmltag>Parameter</sgmltag>. |
| 63 | </para> |
| 64 | </listitem> |
| 65 | </varlistentry> |
| 66 | <varlistentry><term>moreinfo</term> |
| 67 | <listitem> |
| 68 | <para> |
| 69 | If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>, |
| 70 | it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the |
| 71 | <sgmltag>Parameter</sgmltag>. |
| 72 | </para> |
| 73 | </listitem> |
| 74 | </varlistentry> |
| 75 | </variablelist> |
| 76 | </refsect1> |
| 77 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 78 | ¶meter.seealso.gen; |
| 79 | </refsect1> |
| 80 | <refsect1><title>Examples</title> |
| 81 | |
| 82 | <informalexample role="example-source"> |
| 83 | <programlisting>¶meter.example.1.txt;</programlisting> |
| 84 | </informalexample> |
| 85 | |
| 86 | <anchor id="ex.os.parameter.1" role="HACK-ex.out.start"/> |
| 87 | ¶meter.example.1.gen; |
| 88 | <anchor id="ex.oe.parameter.1" role="HACK-ex.out.end"/> |
| 89 | |
| 90 | ¶meter.example.seealso.gen; |
| 91 | </refsect1> |
| 92 | </refentry> |
| 93 |