968
Appendix A: System Routines — Status Line
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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
— Progress bar structure initialized by a previous call to
ST_progressBar
.
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);