Skip to content

Commit c339999

Browse files
Create attr.md
Suggestion for attr.md
1 parent 726f49c commit c339999

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

docs/attr.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
##Requirements
2+
3+
ATTR is a library function to be included with the following command:
4+
5+
6+
```
7+
#include <attr.bas>
8+
```
9+
10+
##Sample usage
11+
12+
```
13+
#include <attr.bas>
14+
15+
PRINT AT 9, 10;PAPER 4; "A"
16+
LET s = ATTR$(9, 10)
17+
PRINT AT 0, 0; "The attribute of screen position 9, 10 is "; s
18+
```
19+
20+
##Remarks
21+
22+
* This function extends the one in Sinclair BASIC (and it's compatible with it) since it also allows rows 22 and 23.
23+
24+
25+
26+
##See also
27+
28+
* [ CSRLIN ](csrlin_.md)
29+
* [ POS](pos_.md)
30+
* [ AT ](at_.md)

0 commit comments

Comments
 (0)