O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

varname — The name of a variable

Synopsis

varname ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

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.

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>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required