We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3460dcb commit e4a076eCopy full SHA for e4a076e
1 file changed
examples/winscroll.bas
@@ -0,0 +1,34 @@
1
+#include <winscroll.bas>
2
+
3
+INK 7: PAPER 2
4
+CLS
5
+FOR i = 0 to 15:
6
+ PRINT PAPER 4; AT i + 1, 0; "#"; AT i + 1, 17; "#";
7
+ for j = 0 to 15:
8
+ PRINT PAPER 4; AT 0, j + 1; "#"; AT 17, j + 1; "#";
9
+ print at i+1, j+1; PAPER (i * 16 + j) MOD 2; (i * 16 + j) MOD 10;
10
+ next
11
+next
12
13
+pause 100
14
15
+for j = 1 to 5
16
+ winScrollDown(0, 1, 7, 5)
17
+ pause 10
18
19
20
21
+ winScrollUp(13, 1, 7, 5)
22
23
24
25
+for j = 1 to 9
26
+ winScrollRight(5, 10, 8, 4)
27
28
29
30
31
+ winScrollLeft(10, 10, 8, 4)
32
33
34
0 commit comments