| www.delorie.com/gnu/docs/gawk/gawk_76.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A numeric constant stands for a number. This number can be an integer, a decimal fraction, or a number in scientific (exponential) notation.(20) Here are some examples of numeric constants that all have the same value:
105 1.05e+2 1050e-1 |
A string constant consists of a sequence of characters enclosed in double-quotation marks. For example:
"parrot" |
represents the string whose contents are `parrot'. Strings in
gawk can be of any length, and they can contain any of the possible
eight-bit ASCII characters including ASCII NUL (character code zero).
Other awk
implementations may have difficulty with some character codes.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |