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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tix/] [man/] [GetInt.n] - Rev 1765

Compare with Previous | Blame | View Log

'\"
'\" Copyright (c) 1996, Expert Interface Technologies
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\" 
'\" The file man.macros and some of the macros used by this file are
'\" copyrighted: (c) 1990 The Regents of the University of California.
'\"              (c) 1994-1995 Sun Microsystems, Inc.
'\" The license terms of the Tcl/Tk distrobution are in the file
'\" license.tcl.
.so man.macros
'----------------------------------------------------------------------
.HS tixGetInt tix 4.0
.BS
'
'
.SH NAME
tixGetInt - Get the integer value of a string.
'
'
'
.SH SYNOPSIS
.PP
\fBtixGetInt\fI ?-nocomplain? ?-trunc? string\fR
.PP
.SH DESCRIPTION
.PP
'
'
The command \fBtixGetInt\fR converts any number into an 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
instead of rounded.

When the string is not a valid TCL numerical value and the
\fB-nocomplain\fR option is specified, \fBtixGetInt\fR will return
"0". Otherwise it will generate an error.
'
'
'
'
.PP
.SH KEYWORDS
Tix(n)

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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