St_Progressincrement - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

968

ST_progressIncrement

Declaration:
void ST_progressIncrement (ST_PROGRESS_BAR * pb , long amount )
Category(ies):
Status Line
Description:
Updates the progress bar in the status line.
Inputs:
pb
amount — Amount to increment progress value.
Outputs:
Progress bar is redrawn with a black bar filling the status line in proportion
to the previous value plus amount .
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
ST_progressBar, ST_progressDismiss, ST_progressUpdate
Example:
ST_PROGRESS_BAR pb;
.
.
.
ST_progressBar(&pb, 0, 100); /* show progress from 0 to 100 */
for (j = 0; j <= 100; j += 1)
{
.
. /* Do some work */
.
ST_progressIncrement(&pb, 1);
}
ST_progressDismiss(&pb);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Status Line
— Progress bar structure initialized by a previous call to
ST_progressBar.
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents