varname
varname — The name of a variable.
Synopsis
- Zero or more of:
- text
replaceable- Graphic inlines
![[-]](figs/web/nav/down.gif)
- Indexing inlines
![[-]](figs/web/nav/down.gif)
- Linking inlines
![[-]](figs/web/nav/down.gif)
- Ubiquitous inlines
![[-]](figs/web/nav/down.gif)
abbrevacronymaltanchorannotationbibliorefcorefdateemphasis(db._emphasis)firstterm(db._firstterm)footnotefootnoterefforeignphrase(db._foreignphrase)glossterm(db._glossterm)indexterm(db.indexterm.endofrange)indexterm(db.indexterm.singular)indexterm(db.indexterm.startofrange)inlinemediaobjectlinkolinkphrase(db._phrase)quote(db._quote)remarksubscriptsuperscripttrademarkwordaswordxref
Attributes
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.
This element occurs in 53 elements.
This element contains 29 elements.
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.




![[+]](figs/web/nav/right.gif)