parameter

parameter — A value or a symbolic reference to a value.

Synopsis

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 (e.g., 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

Parents [+]

This element occurs in 54 elements.

Children [+]

This element contains 16 elements.

Examples

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example parameter</title>
    
  4 <para>Using the <parameter class='command'>-l</parameter> parameter on the
    Linux <command>ls</command> command prints a long directory listing.
  6 </para>
    
  8 </article>

Using the -l parameter on the Linux ls command prints a long directory listing.

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)