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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [incr.n] - Blame information for rev 1771

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

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1993 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: incr.n,v 1.1.1.1 2002-01-16 10:25:24 markom Exp $
9
'\"
10
.so man.macros
11
.TH incr n "" Tcl "Tcl Built-In Commands"
12
.BS
13
'\" Note:  do not modify the .SH NAME line immediately below!
14
.SH NAME
15
incr \- Increment the value of a variable
16
.SH SYNOPSIS
17
\fBincr \fIvarName \fR?\fIincrement\fR?
18
.BE
19
 
20
.SH DESCRIPTION
21
.PP
22
Increments the value stored in the variable whose name is \fIvarName\fR.
23
The value of the variable must be an integer.
24
If \fIincrement\fR is supplied then its value (which must be an
25
integer) is added to the value of variable \fIvarName\fR;  otherwise
26
1 is added to \fIvarName\fR.
27
The new value is stored as a decimal string in variable \fIvarName\fR
28
and also returned as result.
29
 
30
.SH KEYWORDS
31
add, increment, variable, value

powered by: WebSVN 2.1.0

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