File: scroll_by

package info (click to toggle)
pork 0.99.8.1-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,936 kB
  • sloc: ansic: 35,011; sh: 3,379; perl: 931; makefile: 549
file content (12 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
SYNTAX: PORK::scroll_by(lines, [refnum])
	Scrolls a window's display by the specified number of lines.

INPUT PARAMETERS
	lines: The number of lines by which the window will be scrolled. A negative number will cause the display to be scroll up. A positive number will cause the display to be scrolled down.
	refnum: (Optional) The reference number of the window to scroll. If no refnum is specified, the current window is assumed.

RETURN VALUE
	Returns 0 on success, -1 on failure.

SEE ALSO
	scroll by