diff options
Diffstat (limited to 'doc/mathop.n')
| -rw-r--r-- | doc/mathop.n | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/mathop.n b/doc/mathop.n index ac2ebc1..1ddd86e 100644 --- a/doc/mathop.n +++ b/doc/mathop.n @@ -1,11 +1,11 @@ -.\" +.\" -*- nroff -*- .\" Copyright (c) 2006-2007 Donal K. Fellows. .\" .\" See the file "license.terms" for information on usage and redistribution .\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. .\" -.so man.macros .TH mathop n 8.5 Tcl "Tcl Mathematical Operator Commands" +.so man.macros .BS .\" Note: do not modify the .SH NAME line immediately below! .SH NAME @@ -138,7 +138,7 @@ that the following command returns a true value (omitting the namespace for clarity): .PP .CS -\fB==\fR [\fB*\fR [\fB/\fI x y\fR] \fIy\fR] [\fB\-\fI x\fR [\fB%\fI x y\fR]] +\fB==\fR [\fB*\fR [\fB/\fI x y\fR] \fIy\fR] [\fB-\fI x\fR [\fB%\fI x y\fR]] .CE .RE .TP @@ -277,11 +277,9 @@ Returns whether the value \fIarg\fR is present in the list \fIlist\fR Returns whether the value \fIarg\fR is not present in the list \fIlist\fR (according to exact string comparison of elements). .SH EXAMPLES -.PP The simplest way to use the operators is often by using \fBnamespace path\fR to make the commands available. This has the advantage of not affecting the set of commands defined by the current namespace. -.PP .CS namespace path {\fB::tcl::mathop\fR ::tcl::mathfunc} @@ -305,6 +303,3 @@ set sorted [\fB<=\fR {*}$list] expr(n), mathfunc(n), namespace(n) .SH KEYWORDS command, expression, operator -'\" Local Variables: -'\" mode: nroff -'\" End: |
