[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.1 Constant Expressions

The simplest type of expression is the constant, which always has the same value. There are three types of constants: numeric, string, and regular expression.

Each is used in the appropriate context when you need a data value that isn't going to change. Numeric constants can have different forms, but are stored identically internally.

6.1.1 Numeric and String Constants  Numeric and string constants.
6.1.2 Octal and Hexadecimal Numbers  What are octal and hex numbers.
6.1.3 Regular Expression Constants  Regular Expression constants.



This document was generated on May 2, 2002 using texi2html