Difference between revisions of "SET SCROLL"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Specify a vertical scrolling region on the screen. | Specify a vertical scrolling region on the screen. | ||
Line 32: | Line 25: | ||
list all off date, event while inkey()=0 | list all off date, event while inkey()=0 | ||
set scroll to default | set scroll to default | ||
− | clear</code> | + | clear |
+ | </code> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Set_Commands|SCROLL]] | [[Category:Set_Commands|SCROLL]] | ||
+ | [[Category:Terminal Environment]] | ||
+ | [[Category:Terminal Environment Set Commands]] |
Latest revision as of 15:27, 25 November 2009
Purpose
Specify a vertical scrolling region on the screen.
Syntax
SET SCROLL TO <expN1>, <expN2> | DEFAULT
See Also
Description
The SET SCROLL command allows you to specify a vertical scrolling region. The scrolling region will be displayed between rows <expN1>, the top row, and <expN2>, the bottom row. Text displayed on the screen lying outside of the scrolling region remains static on the screen.
By default the scrolling region covers the complete screen, from line 0 to line 23/24. Rows are addressable from 0 to 23/24, and columns from 0 to 79.
Example
set scroll to 10,19 @8, 0 say "Date Event " @9, 0 say "-------- --------" @10,0 list all off date, event while inkey()=0 set scroll to default clear
Products
Recital