ROLLD
This page was last modified 14:24, 14 August 2021 by Mars2000you.

Contents

Effect

Rolls content of specified window to the bottom to produce a scrolling that makes disappear the text.

Syntax

ROLLD #<WindowNumber>,<MovesNumber>

Parameters

<WindowNumber> is a number between 1 and 9. It must always be preceded by # and correspond to a window previously defined with the WINDOW instruction.

<MovesNumber> is a number to specify how many spaces to the bottom will be used for the scrolling. If you use 0, there will be no scrolling. If you use a number higher than 255, it will be read as a number between 0 and 255 (256=0, 257=1, 258=2, etc.)

Example

10 SCREEN0:KEYOFF:WIDTH40
20 WINDOW#1,1,1,1,21
30 WBOX#1
40 LOCATE#1,0,5
50 WPRINT#1,"MSX Resource Center"
60 ROLLD#1,146

Related to

LOCATE, ROLLL, ROLLR, ROLLU, WBOX, WINDOW, WPRINT, WRAPD, WRAPL, WRAPR, WRAPU

Compatibility

Delta BASIC