diff options
Diffstat (limited to 'doc/expr.n')
| -rw-r--r-- | doc/expr.n | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -41,11 +41,11 @@ When the result of expression is an integer, it is in decimal form, and when the result is a floating-point number, it is in the form produced by the \fB%g\fR format specifier of \fBformat\fR. .PP -.VS "TIP 582" +.VS TIP582 At any point in the expression except within double quotes or braces, \fB#\fR is the beginning of a comment, which lasts to the end of the line or the end of the expression, whichever comes first. -.VE "TIP 582" +.VE TIP582 .SS OPERANDS .PP An expression consists of a combination of operands, operators, parentheses and @@ -198,12 +198,12 @@ comparison is done using UNICODE string comparison, as with the string comparison operators below, which have the same precedence. .TP 20 \fBlt\0\0gt\0\0le\0\0ge\fR -.VS "8.7, TIP461" +.VS TIP461 Boolean string comparisons: less than, greater than, less than or equal, and greater than or equal. These always compare values using their UNICODE strings (also see \fBstring compare\fR), unlike with the numeric-preferring comparisons above, which have the same precedence. -.VE "8.7, TIP461" +.VE TIP461 .TP 20 \fB==\0\0!=\fR . @@ -439,13 +439,13 @@ A string comparison whose result is 1: \fBexpr\fR {"0y" > "0x12"} .CE .PP -.VS "8.7, TIP461" +.VS TIP461 A forced string comparison whose result is 0: .PP .CS \fBexpr\fR {"0x03" gt "2"} .CE -.VE "8.7, TIP461" +.VE TIP461 .PP Define a procedure that computes an .QW interesting |
