progress (int n1, int n2)

Displays a red/green progress bar during a [Test] run.

Parameters:

n1

Length of the first part of the progress bar in percent. Green when > 0, red when < 0.

n2

Length of the second part of the progress bar in percent; green when > 0, red when < 0, 0 for a neutral bar color.

Remarks:

Example:

sound("win.wav");

See also:

printf, Trading

► latest version online