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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [GetInt.n] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1996, Expert Interface Technologies
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" The file man.macros and some of the macros used by this file are
8
'\" copyrighted: (c) 1990 The Regents of the University of California.
9
'\"              (c) 1994-1995 Sun Microsystems, Inc.
10
'\" The license terms of the Tcl/Tk distrobution are in the file
11
'\" license.tcl.
12
.so man.macros
13
'----------------------------------------------------------------------
14
.HS tixGetInt tix 4.0
15
.BS
16
'
17
'
18
.SH NAME
19
tixGetInt - Get the integer value of a string.
20
'
21
'
22
'
23
.SH SYNOPSIS
24
.PP
25
\fBtixGetInt\fI ?-nocomplain? ?-trunc? string\fR
26
.PP
27
.SH DESCRIPTION
28
.PP
29
'
30
'
31
The command \fBtixGetInt\fR converts any number into an integer
32
number. By default, it will round the number to the nearest integer.
33
When the \fB-trunc\fR option is specified, the number is truncated
34
instead of rounded.
35
 
36
When the string is not a valid TCL numerical value and the
37
\fB-nocomplain\fR option is specified, \fBtixGetInt\fR will return
38
"0". Otherwise it will generate an error.
39
'
40
'
41
'
42
'
43
.PP
44
.SH KEYWORDS
45
Tix(n)

powered by: WebSVN 2.1.0

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