Difference between revisions of "SCROLL"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Screen Forms | Screen Forms | ||
Line 25: | Line 22: | ||
<code lang="recital"> | <code lang="recital"> | ||
for i = 1 to 20 | for i = 1 to 20 | ||
− | @ i,10 say replicate(str(i,2),30) | + | @i,10 say replicate(str(i,2),30) |
next | next | ||
for i = 3 to 18 | for i = 3 to 18 | ||
− | scroll 3,19,18,59,1 | + | scroll 3,19,18,59,1 |
− | sleep 1 | + | sleep 1 |
next | next | ||
</code> | </code> |
Revision as of 13:00, 26 May 2009
Class
Screen Forms
Purpose
Designate a scrollable screen area
Syntax
SCROLL <expN1>,<expN2>,<expN3>,<expN4>,<expN5>
See Also
HSCROLL(), MAXCOL(), MAXROW(), MENU BROWSE, SCROLL()
Description
The SCROLL command designates a rectangular portion of the screen as scrollable. <expN1> and <expN2> represent the upper left row and column coordinates of the rectangle, respectively. <expN3> and <expN4> represent the lower right row and column coordinates of the rectangle, respectively. The <expN5> specifies the number of rows to scroll inside the defined rectangular area. A negative value will scroll down, and a positive value will scroll up.
Example
for i = 1 to 20 @i,10 say replicate(str(i,2),30) next for i = 3 to 18 scroll 3,19,18,59,1 sleep 1 next
Products
Recital Terminal Developer