Browse Subversion Repository
Diff of /trunk/teraterm/ttpmacro/ttmbuff.h
Parent Directory
| Revision Log
| Patch
1 |
/* Tera Term |
/* Tera Term |
2 |
Copyright(C) 1994-1998 T. Teranishi |
Copyright(C) 1994-1998 T. Teranishi |
3 |
All rights reserved. */ |
All rights reserved. */ |
4 |
|
|
5 |
/* TTMACRO.EXE, Macro file buffer */ |
/* TTMACRO.EXE, Macro file buffer */ |
6 |
|
|
7 |
#ifdef __cplusplus |
#ifdef __cplusplus |
8 |
extern "C" { |
extern "C" { |
9 |
#endif |
#endif |
10 |
|
|
11 |
BOOL InitBuff(PCHAR FileName); |
BOOL InitBuff(PCHAR FileName); |
12 |
void CloseBuff(int IBuff); |
void CloseBuff(int IBuff); |
13 |
BOOL GetNewLine(); |
BOOL GetNewLine(); |
14 |
// goto |
// goto |
15 |
void JumpToLabel(int ILabel); |
void JumpToLabel(int ILabel); |
16 |
// call .. return |
// call .. return |
17 |
WORD CallToLabel(int ILabel); |
WORD CallToLabel(int ILabel); |
18 |
WORD ReturnFromSub(); |
WORD ReturnFromSub(); |
19 |
// include file |
// include file |
20 |
BOOL BuffInclude(PCHAR FileName); |
BOOL BuffInclude(PCHAR FileName); |
21 |
BOOL ExitBuffer(); |
BOOL ExitBuffer(); |
22 |
// for ... next |
// for ... next |
23 |
int SetForLoop(); |
int SetForLoop(); |
24 |
void LastForLoop(); |
void LastForLoop(); |
25 |
BOOL CheckNext(); |
BOOL CheckNext(); |
26 |
int NextLoop(); |
int NextLoop(); |
27 |
// while ... endwhile |
// while ... endwhile |
28 |
int SetWhileLoop(); |
int SetWhileLoop(); |
29 |
void EndWhileLoop(); |
void EndWhileLoop(); |
30 |
int BackToWhile(BOOL flag); |
int BackToWhile(BOOL flag); |
31 |
void InitLineNo(void); |
void InitLineNo(void); |
32 |
int GetLineNo(void); |
int GetLineNo(void); |
33 |
char *GetLineBuffer(void); |
char *GetLineBuffer(void); |
34 |
int IsUpdateMacroCommand(void); |
int IsUpdateMacroCommand(void); |
35 |
WORD BreakLoop(); |
WORD BreakLoop(); |
36 |
|
|
37 |
extern int EndWhileFlag; |
extern int EndWhileFlag; |
38 |
extern int BreakFlag; |
extern int BreakFlag; |
39 |
|
|
40 |
#ifdef __cplusplus |
#ifdef __cplusplus |
41 |
} |
} |
42 |
#endif |
#endif |
|
Legend:
Removed from v.3226 |
|
changed lines |
|
Added in v.3227 |
|
|
|