varname

varname — The name of a variable

Synopsis

varname ::= [-]

Description

A varname identifies a variable name in a programming or expression language. Variables most often get their values from literals, replaceable values, constants, or symbols.

Processing expectations

Formatted inline.

Children

The following elements occur in varname: 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

command, computeroutput, constant, literal, markup, option, optional, parameter, prompt, replaceable, tag, userinput

Examples

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

<para>In Perl, <varname>@ARGV</varname> contains the command line parameters
used when the script was run.
</para>

</article>

In Perl, @ARGV contains the command line parameters used when the script was run.

ChangeLog

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