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 4d005ce commit c80d29cCopy full SHA for c80d29c
1 file changed
docs/library/attr.md
@@ -0,0 +1,35 @@
1
+##Requirements
2
+
3
+ATTR is a library function to be included with the following command:
4
5
+```
6
+#include <attr.bas>
7
8
9
+##Description
10
+`ATTR(row, col)`
11
12
+Returns the ATTR (color attribute) of the given screen coordinate at the given row and column.
13
14
15
+##Sample usage
16
17
18
19
20
+PRINT AT 9, 10;PAPER 4; "A"
21
+LET s = ATTR$(9, 10)
22
+PRINT AT 0, 0; "The attribute of screen position 9, 10 is "; s
23
24
25
+##Remarks
26
27
+* This function extends the one in Sinclair BASIC (and it's compatible with it) since it also allows rows 22 and 23.
28
29
30
31
+##See also
32
33
+* [ CSRLIN ](../csrlin.md)
34
+* [ POS](../pos.md)
35
+* [ AT ](../at.md)
0 commit comments