source: dev/BasicCompiler32/commandvalue.h@ 138

Last change on this file since 138 was 118, checked in by dai_9181, 18 years ago

Namespace名前空間のコード補間機能に対応。

File size: 2.2 KB
Line 
1/* 命令語定数 */
2
3//条件、分岐、繰り返し
4#define COM_DO 0x1021
5/* 0x22は「"」なので使用不可 */
6#define COM_GOTO 0x1023
7#define COM_GOSUB 0x1024
8#define COM_LOOP 0x1026
9#define COM_RETURN 0x1027
10/* 0x28は「(」なので使用不可 */
11/* 0x29は「)」なので使用不可 */
12#define COM_FOR 0x1031
13#define COM_NEXT 0x1032
14#define COM_WHILE 0x1036
15#define COM_WEND 0x1037
16
17//データ操作
18#define COM_DIM 0x1062
19#define COM_LET 0x1066
20#define COM_DELETE 0x1068
21#define COM_SWEEPINGDELETE 0x1069
22
23//その他
24#define COM_DEBUG 0x1073
25
26//ポインタ
27#define COM_SETDOUBLE 0x10C1
28#define COM_SETSINGLE 0x10C2
29#define COM_SETQWORD 0x10C3
30#define COM_SETDWORD 0x10C4
31#define COM_SETWORD 0x10C5
32#define COM_SETBYTE 0x10C6
33
34
35
36///////////////////////////////////
37// 以下はProjectEditorで使用される
38
39//入出力コマンド
40#define COM_PRINT 0x1150
41#define COM_INPUT 0x1151
42#define COM_OPEN 0x1152
43#define COM_CLOSE 0x1153
44#define COM_FIELD 0x1154
45#define COM_WRITE 0x1155
46
47//条件、分岐、繰り返し
48#define COM_IF 0x1160
49#define COM_SELECT 0x1161
50
51//ファイル操作
52#define COM_CHDIR 0x1170
53#define COM_KILL 0x1171
54#define COM_MKDIR 0x1172
55#define COM_GET 0x1173
56#define COM_PUT 0x1174
57
58//グラフィックス
59#define COM_CIRCLE 0x1180
60#define COM_LINE 0x1181
61#define COM_PAINT 0x1182
62#define COM_PSET 0x1183
63
64//データ操作
65#define COM_CONST 0x1190
66#define COM_TYPEDEF 0x1191
67
68//クラス関連
69#define COM_CLASS 0x1195
70#define COM_PRIVATE 0x1196
71#define COM_PUBLIC 0x1197
72#define COM_INHERITS 0x1198
73#define COM_PROTECTED 0x1199
74#define COM_INTERFACE 0x119A
75
76//その他
77#define COM_BEEP 0x11A0
78#define COM_CLS 0x11A1
79#define COM_COLOR 0x11A2
80#define COM_DECLARE 0x11A4
81#define COM_DEF 0x11A5
82#define COM_END 0x11A6
83#define COM_FUNCTION 0x11A7
84#define COM_LOCATE 0x11A8
85#define COM_RANDOMIZE 0x11A9
86#define COM_REM 0x11AA
87#define COM_SLEEP 0x11AB
88#define COM_SUB 0x11AC
89#define COM_TYPE 0x11AD
90#define COM_VIRTUAL 0x11AE
91#define COM_OVERRIDE 0x11AF
92#define COM_WITH 0x11B0
93#define COM_ENUM 0x11B1
94#define COM_ABSTRACT 0x11B2
95#define COM_NAMESPACE 0x11B3
96
97//ウィンドウ制御
98#define COM_DELWND 0x11C0
99#define COM_MSGBOX 0x11C1
100#define COM_WINDOW 0x11C2
Note: See TracBrowser for help on using the repository browser.