varname
varname — The name of a variable.
Synopsis
- Zero or more of:
- text
phrase
(db._phrase)replaceable
- Graphic inlines
- Indexing inlines
- Linking inlines
- Ubiquitous inlines
alt
anchor
annotation
biblioref
indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
remark
subscript
superscript
xref
Attributes
Description
A varname
identifies a variable name in a
programming or expression language. Variables most often get their
values from literal
s, replaceable
values, constant
s, or symbol
s.
Processing expectations
Formatted inline.
This element occurs in 51 elements.
This element contains 16 elements.
See Also
command
, computeroutput
, constant
, literal
, markup
, option
, optional
, parameter
, prompt
, replaceable
, tag
, userinput
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example varname</title> 4 <para>In Perl, <varname>@ARGV</varname> contains the command line parameters used when the script was run. 6 </para> 8 </article>
In Perl, @ARGV
contains the command line parameters
used when the script was run.