Skip to content

Commit 5816497

Browse files
committed
Adds abbreviations tests to print COLOR() and RTAB()
1 parent 3223365 commit 5816497

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

testsuite/tests/abbrev.bas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ ABSA = 10
1717
? 1 T. 5 3 ' This is parsed as ? 1 ; TAB(5) ; 3
1818
? 1 T.5+3 ' This is parsed as ? 1 ; TAB(5) ; +3
1919
? 1 T.(5+3) ' This is parsed as ? 1 ; TAB(5+3)
20+
? 1 C.1+1 ' This is parsed as ? 1 ; COLOR(1) +1
21+
? R.1+1 ' This is parsed as ? RTAB(1) +1
2022
? "X"
2123

2224
' Test all abbreviations:

testsuite/tests/abbrev.chk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Start
1616
10
1717
1 3
1818
1 3
19-
1 X
19+
1 10
20+
1
21+
X
2022
3
2123
12547
2224
ABLLO

0 commit comments

Comments
 (0)