source: dev/trunk/ab5.0/abdev/compiler_x64/CommandValue.h@ 642

Last change on this file since 642 was 372, checked in by dai_9181, 17 years ago

Foreachステートメントを実装中…

File size: 2.1 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#define COM_FOREACH 0x1038
17
18//データ操作
19#define COM_DIM 0x1062
20#define COM_LET 0x1066
21#define COM_DELETE 0x1068
22#define COM_SWEEPINGDELETE 0x1069
23
24//その他
25#define COM_DEBUG 0x1073
26
27//ポインタ
28#define COM_SETDOUBLE 0x10C1
29#define COM_SETSINGLE 0x10C2
30#define COM_SETQWORD 0x10C3
31#define COM_SETDWORD 0x10C4
32#define COM_SETWORD 0x10C5
33#define COM_SETBYTE 0x10C6
34
35
36
37///////////////////////////////////
38// 以下はProjectEditorで使用される
39
40//入出力コマンド
41#define COM_PRINT 0x1150
42#define COM_INPUT 0x1151
43#define COM_OPEN 0x1152
44#define COM_CLOSE 0x1153
45#define COM_FIELD 0x1154
46#define COM_WRITE 0x1155
47
48//条件、分岐、繰り返し
49#define COM_IF 0x1160
50#define COM_SELECT 0x1161
51
52//ファイル操作
53#define COM_CHDIR 0x1170
54#define COM_KILL 0x1171
55#define COM_MKDIR 0x1172
56#define COM_GET 0x1173
57#define COM_PUT 0x1174
58
59//グラフィックス
60#define COM_CIRCLE 0x1180
61#define COM_LINE 0x1181
62#define COM_PAINT 0x1182
63#define COM_PSET 0x1183
64
65//データ操作
66#define COM_CONST 0x1190
67#define COM_TYPEDEF 0x1191
68
69//クラス関連
70#define COM_CLASS 0x1195
71#define COM_PRIVATE 0x1196
72#define COM_PUBLIC 0x1197
73#define COM_INHERITS 0x1198
74#define COM_PROTECTED 0x1199
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_WITH 0x11AF
92#define COM_ENUM 0x11B0
93
94//ウィンドウ制御
95#define COM_DELWND 0x11C0
96#define COM_MSGBOX 0x11C1
97#define COM_WINDOW 0x11C2
Note: See TracBrowser for help on using the repository browser.