parameter

parameter — A value or a symbolic reference to a value

Synopsis

parameter ::= [-]

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • class (enumeration)
    • “command”
    • “function”
    • “option”

Description

A parameter identifies something passed from one part of a computer system to another. In this regard parameter is fairly generic, but it may have a more constrained semantic in some contexts (for example in a paramdef).

In a document that describes more than one kind of parameter, for example, parameters to functions and commands, the class attribute can be used to distinguish between them, if necessary.

Processing expectations

Formatted inline.

Attributes

Common attributes and common linking attributes.

class

Identifies the class of parameter

Enumerated values:
“command”

A command

“function”

A function

“option”

An option

Children

The following elements occur in parameter: text, alt, anchor, annotation, biblioref, indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), remark, replaceable, subscript, superscript, xref.

See Also

computeroutput, constant, funcdef, funcparams, funcprototype, funcsynopsisinfo, function, literal, markup, option, optional, paramdef, prompt, replaceable, returnvalue, tag, userinput, varargs, varname, void

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example parameter</title>

<para>Using the <parameter class='command'>/w</parameter> parameter on the
DOS <command>dir</command> command prints a wide directory listing.
</para>

</article>

Using the /w parameter on the DOS dir command prints a wide directory listing.

ChangeLog

This alpha reference page is $Revision: 7120 $ published Sun, 22 Jul 2007.