Command Prompt for Windows




scroll

void scroll(int start, int end, int num);

Scroll a range of line, a specified number of places, up or down on the screen.

Parameter Description
start Starting at line start.
end Ending at line end.
num Number of places to scroll.

Returns

There is no return value

Comments

The first line on the screen is at position 0.

A positive value for num, scrolls the range of lines downward and a negative value for num, scrolls the range of lines upward.