OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [GetInt.n] - Diff between revs 578 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 578 Rev 1765
'\"
'\"
'\" Copyright (c) 1996, Expert Interface Technologies
'\" Copyright (c) 1996, Expert Interface Technologies
'\"
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
'\"
'\" The file man.macros and some of the macros used by this file are
'\" The file man.macros and some of the macros used by this file are
'\" copyrighted: (c) 1990 The Regents of the University of California.
'\" copyrighted: (c) 1990 The Regents of the University of California.
'\"              (c) 1994-1995 Sun Microsystems, Inc.
'\"              (c) 1994-1995 Sun Microsystems, Inc.
'\" The license terms of the Tcl/Tk distrobution are in the file
'\" The license terms of the Tcl/Tk distrobution are in the file
'\" license.tcl.
'\" license.tcl.
.so man.macros
.so man.macros
'----------------------------------------------------------------------
'----------------------------------------------------------------------
.HS tixGetInt tix 4.0
.HS tixGetInt tix 4.0
.BS
.BS
'
'
'
'
.SH NAME
.SH NAME
tixGetInt - Get the integer value of a string.
tixGetInt - Get the integer value of a string.
'
'
'
'
'
'
.SH SYNOPSIS
.SH SYNOPSIS
.PP
.PP
\fBtixGetInt\fI ?-nocomplain? ?-trunc? string\fR
\fBtixGetInt\fI ?-nocomplain? ?-trunc? string\fR
.PP
.PP
.SH DESCRIPTION
.SH DESCRIPTION
.PP
.PP
'
'
'
'
The command \fBtixGetInt\fR converts any number into an integer
The command \fBtixGetInt\fR converts any number into an integer
number. By default, it will round the number to the nearest integer.
number. By default, it will round the number to the nearest integer.
When the \fB-trunc\fR option is specified, the number is truncated
When the \fB-trunc\fR option is specified, the number is truncated
instead of rounded.
instead of rounded.
When the string is not a valid TCL numerical value and the
When the string is not a valid TCL numerical value and the
\fB-nocomplain\fR option is specified, \fBtixGetInt\fR will return
\fB-nocomplain\fR option is specified, \fBtixGetInt\fR will return
"0". Otherwise it will generate an error.
"0". Otherwise it will generate an error.
'
'
'
'
'
'
'
'
.PP
.PP
.SH KEYWORDS
.SH KEYWORDS
Tix(n)
Tix(n)
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.