source: dev/BasicCompiler64/CommandValue.h@ 52

Last change on this file since 52 was 3, checked in by dai_9181, 18 years ago
File size: 2.0 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
22//その他
23#define COM_DEBUG 0x1073
24
25//ポインタ
26#define COM_SETDOUBLE 0x10C1
27#define COM_SETSINGLE 0x10C2
28#define COM_SETQWORD 0x10C3
29#define COM_SETDWORD 0x10C4
30#define COM_SETWORD 0x10C5
31#define COM_SETBYTE 0x10C6
32
33
34
35///////////////////////////////////
36// 以下はProjectEditorで使用される
37
38//入出力コマンド
39#define COM_PRINT 0x1150
40#define COM_INPUT 0x1151
41#define COM_OPEN 0x1152
42#define COM_CLOSE 0x1153
43#define COM_FIELD 0x1154
44#define COM_WRITE 0x1155
45
46//条件、分岐、繰り返し
47#define COM_IF 0x1160
48#define COM_SELECT 0x1161
49
50//ファイル操作
51#define COM_CHDIR 0x1170
52#define COM_KILL 0x1171
53#define COM_MKDIR 0x1172
54#define COM_GET 0x1173
55#define COM_PUT 0x1174
56
57//グラフィックス
58#define COM_CIRCLE 0x1180
59#define COM_LINE 0x1181
60#define COM_PAINT 0x1182
61#define COM_PSET 0x1183
62
63//データ操作
64#define COM_CONST 0x1190
65#define COM_TYPEDEF 0x1191
66
67//クラス関連
68#define COM_CLASS 0x1195
69#define COM_PRIVATE 0x1196
70#define COM_PUBLIC 0x1197
71#define COM_INHERITS 0x1198
72#define COM_PROTECTED 0x1199
73
74//その他
75#define COM_BEEP 0x11A0
76#define COM_CLS 0x11A1
77#define COM_COLOR 0x11A2
78#define COM_DECLARE 0x11A4
79#define COM_DEF 0x11A5
80#define COM_END 0x11A6
81#define COM_FUNCTION 0x11A7
82#define COM_LOCATE 0x11A8
83#define COM_RANDOMIZE 0x11A9
84#define COM_REM 0x11AA
85#define COM_SLEEP 0x11AB
86#define COM_SUB 0x11AC
87#define COM_TYPE 0x11AD
88#define COM_VIRTUAL 0x11AE
89#define COM_WITH 0x11AF
90#define COM_ENUM 0x11B0
91
92//ウィンドウ制御
93#define COM_DELWND 0x11C0
94#define COM_MSGBOX 0x11C1
95#define COM_WINDOW 0x11C2
Note: See TracBrowser for help on using the repository browser.