Skip to content

Commit 34d3ad9

Browse files
committed
Reorganize tice.h tokens and add missing tGFormat.
1 parent b5fff50 commit 34d3ad9

File tree

1 file changed

+81
-82
lines changed

1 file changed

+81
-82
lines changed

src/ce/tice.h

Lines changed: 81 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,88 +1157,7 @@ typedef enum {
11571157
#define tY 0x59
11581158
#define tZ 0x5A
11591159
#define tTheta 0x5B
1160-
1161-
/*
1162-
* Extended Tokens
1163-
*/
1164-
#define tExtTok 0xEF
1165-
#define tSetDate 0x00
1166-
#define tSetTime 0x01
1167-
#define tCheckTmr 0x02
1168-
#define tSetDtFmt 0x03
1169-
#define tSetTmFmt 0x04
1170-
#define tTimeCnv 0x05
1171-
#define tDayOfWk 0x06
1172-
#define tGetDtStr 0x07
1173-
#define tGetTmStr 0x08
1174-
#define tGetDate 0x09
1175-
#define tGetTime 0x0A
1176-
#define tStartTmr 0x0B
1177-
#define tGtDtFmt 0x0C
1178-
#define tGetTmFmt 0x0D
1179-
#define tIsClockOn 0x0E
1180-
#define tClockOff 0x0F
1181-
#define tClockOn 0x10
1182-
#define tOpenLib 0x11
1183-
#define tExecLib 0x12
1184-
#define tInvT 0x13
1185-
#define tChiSquaredTest 0x14
1186-
#define tLinRegTInt 0x15
1187-
#define tManualFit 0x16
1188-
#define tZQuadrant 0x17
1189-
#define tZFracHalf 0x18
1190-
#define tZFracThird 0x19
1191-
#define tZFracFourth 0x1A
1192-
#define tZFracFifth 0x1B
1193-
#define tZFracEighth 0x1C
1194-
#define tZFracTenth 0x1D
1195-
#define tFracSlash 0x2E
1196-
#define tFracMixedNum 0x2F
1197-
#define tSwapImProper 0x30
1198-
#define tSwapFracDec 0x31
1199-
#define tRemainder 0x32
1200-
#define tSummationSigma 0x33
1201-
#define tLogBase 0x34
1202-
#define tRandIntNoRep 0x35
1203-
#define tMathPrint 0x36
1204-
#define tClassic 0x38
1205-
#define tAutoAnswer 0x3B
1206-
#define tDecAnswer 0x3C
1207-
#define tFracAnswer 0x3D
1208-
#define tBlue 0x41
1209-
#define tRed 0x42
1210-
#define tBlack 0x43
1211-
#define tMagenta 0x44
1212-
#define tGreen 0x45
1213-
#define tOrange 0x46
1214-
#define tBrown 0x47
1215-
#define tNavy 0x48
1216-
#define tLtBlue 0x49
1217-
#define tYellow 0x4A
1218-
#define tWhite 0x4B
1219-
#define tLtGray 0x4C
1220-
#define tMedGray 0x4D
1221-
#define tGray 0x4E
1222-
#define tDarkGray 0x4F
1223-
#define tGraphColor 0x65
1224-
#define tTextColor 0x67
1225-
#define tBackgroundOn 0x5B
1226-
#define tBackgroundOff 0x64
1227-
#define tThin 0x74
1228-
#define tBorderColor 0x6C
1229-
#define tAsm84CPrgm 0x68
1230-
#define tAsm84CCmp 0x69
1231-
#define tAsm84CeCmp 0x7B
1232-
#define tAsm84CePrgm 0x7A
1233-
1234-
#define tVarMat 0x5C
1235-
#define tVarLst 0x5D
1236-
#define tVarEqu 0x5E
12371160
#define tProg 0x5F
1238-
#define tVarPict 0x60
1239-
#define tVarGDB 0x61
1240-
#define tVarOut 0x62
1241-
#define tVarSys 0x63
12421161

12431162
/*
12441163
* Mode settings tokens
@@ -1318,7 +1237,6 @@ typedef enum {
13181237
#define tTanLn 0xA7 // 'TanLn'
13191238
#define tDrInv 0xA8 // 'DrInv_'
13201239
#define tDrawF 0xA9 // 'DrawF_'
1321-
#define tVarStrng 0xAA
13221240

13231241
// Functions with no argument
13241242
#define tRand 0xAB // 'rand'
@@ -1413,6 +1331,7 @@ typedef enum {
14131331
#define tScatter 0xFE // 'Scatter_'
14141332
#define tLR1 0xFF // 'LINR(AX+B)'
14151333

1334+
#define tGFormat 0x7E
14161335
// 2nd Half Of Graph Format Tokens
14171336
#define tSeq 0x00 // 'SeqG'
14181337
#define tSimulG 0x01 // 'SimulG'
@@ -1434,6 +1353,7 @@ typedef enum {
14341353
#define tvw 0x11 // V vs W
14351354
#define tuw 0x12 // U vs W
14361355

1356+
#define tVarMat 0x5C
14371357
// 2nd Half Of User Matrix Tokens
14381358
#define tMatA 0x00 // MAT A
14391359
#define tMatB 0x01 // MAT B
@@ -1446,6 +1366,7 @@ typedef enum {
14461366
#define tMatI 0x08 // MAT I
14471367
#define tMatJ 0x09 // MAT J
14481368

1369+
#define tVarLst 0x5D
14491370
// 2nd Half Of User List Tokens
14501371
#define tL1 0x00 // LIST 1
14511372
#define tL2 0x01 // LIST 2
@@ -1454,7 +1375,9 @@ typedef enum {
14541375
#define tL5 0x04 // LIST 5
14551376
#define tL6 0x05 // LIST 6
14561377

1378+
#define tVarEqu 0x5E
14571379
// 2nd Half Of User Equation Tokens
1380+
14581381
// Y Equations have bit 4 set
14591382
#define tY1 0x10 // Y1
14601383
#define tY2 0x11 // Y2
@@ -1494,6 +1417,7 @@ typedef enum {
14941417
#define tvn 0x81 // Vn
14951418
#define twn 0x82 // Wn
14961419

1420+
#define tVarPict 0x60
14971421
// 2nd Half User Picture Tokens
14981422
#define tPic1 0x00 // PIC1
14991423
#define tPic2 0x01 // PIC2
@@ -1506,6 +1430,7 @@ typedef enum {
15061430
#define tPic9 0x08 // PIC9
15071431
#define tPic0 0x09 // PIC0
15081432

1433+
#define tVarGDB 0x61
15091434
// 2nd Half User Graph Database Tokens
15101435
#define tGDB1 0x00 // GDB1
15111436
#define tGDB2 0x01 // GDB2
@@ -1518,6 +1443,7 @@ typedef enum {
15181443
#define tGDB9 0x08 // GDB9
15191444
#define tGDB0 0x09 // GDB0
15201445

1446+
#define tVarStrng 0xAA
15211447
// 2nd Half Of String Vars
15221448
#define tStr1 0x00
15231449
#define tStr2 0x01
@@ -1530,6 +1456,7 @@ typedef enum {
15301456
#define tStr9 0x08
15311457
#define tStr0 0x09
15321458

1459+
#define tVarOut 0x62
15331460
// 2nd Half Of System Output Only Variables
15341461
#define tRegEq 0x01 // REGRESSION EQUATION
15351462
#define tStatN 0x02 // STATISTICS N
@@ -1595,6 +1522,7 @@ typedef enum {
15951522
#define tE_SS 0x3B
15961523
#define tE_MS 0x3C
15971524

1525+
#define tVarSys 0x63
15981526
// 2nd Half Of System Input/Output Variables
15991527
#define tuXscl 0x00
16001528
#define tuYscl 0x01
@@ -1857,6 +1785,77 @@ typedef enum {
18571785
#define tLcapIAcute 0xCD
18581786
#define tGarbageCollect 0xCE
18591787

1788+
#define tExtTok 0xEF
1789+
// 2nd Byte Of tExtTok Tokens
1790+
#define tSetDate 0x00
1791+
#define tSetTime 0x01
1792+
#define tCheckTmr 0x02
1793+
#define tSetDtFmt 0x03
1794+
#define tSetTmFmt 0x04
1795+
#define tTimeCnv 0x05
1796+
#define tDayOfWk 0x06
1797+
#define tGetDtStr 0x07
1798+
#define tGetTmStr 0x08
1799+
#define tGetDate 0x09
1800+
#define tGetTime 0x0A
1801+
#define tStartTmr 0x0B
1802+
#define tGtDtFmt 0x0C
1803+
#define tGetTmFmt 0x0D
1804+
#define tIsClockOn 0x0E
1805+
#define tClockOff 0x0F
1806+
#define tClockOn 0x10
1807+
#define tOpenLib 0x11
1808+
#define tExecLib 0x12
1809+
#define tInvT 0x13
1810+
#define tChiSquaredTest 0x14
1811+
#define tLinRegTInt 0x15
1812+
#define tManualFit 0x16
1813+
#define tZQuadrant 0x17
1814+
#define tZFracHalf 0x18
1815+
#define tZFracThird 0x19
1816+
#define tZFracFourth 0x1A
1817+
#define tZFracFifth 0x1B
1818+
#define tZFracEighth 0x1C
1819+
#define tZFracTenth 0x1D
1820+
#define tFracSlash 0x2E
1821+
#define tFracMixedNum 0x2F
1822+
#define tSwapImProper 0x30
1823+
#define tSwapFracDec 0x31
1824+
#define tRemainder 0x32
1825+
#define tSummationSigma 0x33
1826+
#define tLogBase 0x34
1827+
#define tRandIntNoRep 0x35
1828+
#define tMathPrint 0x36
1829+
#define tClassic 0x38
1830+
#define tAutoAnswer 0x3B
1831+
#define tDecAnswer 0x3C
1832+
#define tFracAnswer 0x3D
1833+
#define tBlue 0x41
1834+
#define tRed 0x42
1835+
#define tBlack 0x43
1836+
#define tMagenta 0x44
1837+
#define tGreen 0x45
1838+
#define tOrange 0x46
1839+
#define tBrown 0x47
1840+
#define tNavy 0x48
1841+
#define tLtBlue 0x49
1842+
#define tYellow 0x4A
1843+
#define tWhite 0x4B
1844+
#define tLtGray 0x4C
1845+
#define tMedGray 0x4D
1846+
#define tGray 0x4E
1847+
#define tDarkGray 0x4F
1848+
#define tGraphColor 0x65
1849+
#define tTextColor 0x67
1850+
#define tBackgroundOn 0x5B
1851+
#define tBackgroundOff 0x64
1852+
#define tThin 0x74
1853+
#define tBorderColor 0x6C
1854+
#define tAsm84CPrgm 0x68
1855+
#define tAsm84CCmp 0x69
1856+
#define tAsm84CeCmp 0x7B
1857+
#define tAsm84CePrgm 0x7A
1858+
18601859
/* 2 byte extended tokens (tExtTok) present in OS 5.2 and above */
18611860
#define tSEQn 0x8F /* 'SEQ(n)' */
18621861
#define tSEQn1 0x90 /* 'SEQ(n+1)' */

0 commit comments

Comments
 (0)