gawk: Typing and Comparison
1
1 6.3.2 Variable Typing and Comparison Expressions
1 ------------------------------------------------
1
1 The Guide is definitive. Reality is frequently inaccurate.
1 -- _Douglas Adams, 'The Hitchhiker's Guide to the Galaxy'_
1
1 Unlike in other programming languages, in 'awk' variables do not have
1 a fixed type. Instead, they can be either a number or a string,
1 depending upon the value that is assigned to them. We look now at how
1 variables are typed, and how 'awk' compares variables.
1
Menu