constant — A programming or system constant
constant ::=
(text | phrase
db._phrase | replaceable
| Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*
Common attributes and common linking attributes.
Additional attributes:
class
(enumeration) = “limit”
A constant
identifies a value as immutable. It
is most often used to identify system limitations or other defined
constants.
Common attributes and common linking attributes.
Identifies the class of constant
Enumerated values: | |
---|---|
“limit” | The value is a limit of some kind. |
command
, computeroutput
, literal
, markup
, option
, optional
, parameter
, prompt
, replaceable
, tag
, userinput
, varname
<article xmlns='http://docbook.org/ns/docbook'> <title>Example constant</title> <para>In ACL, <constant>main::PCS</constant> contains the path component separator character. </para> </article>
<article xmlns='http://docbook.org/ns/docbook'> <title>Example constant</title> <para>The maximum legal length for a pathname is <constant class='limit'>PATH_MAX</constant>, defined in <filename class='headerfile'>limits.h</filename>. </para> </article>