#define	BEGIN		{
#define	END			}
#define	ELSE		else
#define	IF if		(
#define	THEN		)
#define	AND			&&
#define	OR			||
#define	LAND		&
#define	LOR			|
#define	XOR			^
#define	MOD			%
#define	SLAND(x,y)	(x)	&= (y)
#define	SLOR(x,y)	(x)	|= (y)
#define	SXOR(x,y)	(x)	^= (y)
#define	LANDE		&=
#define	LORE		|=
#define	XORE		^=
#define	MODE		%=
#define	REPEAT		do
#define	UNTIL(x)	while	(x)
#define	WHILE		while	(
#define	FOREVER		for(;;)
#define	FOR			for	(
#define	DO			)
#define	GETS		=
#define	EQ			==
#define	NE			!=
#define	GE			>=
#define	LE			<=
#define	LT			<
#define	GT			>
#define	NOT			!
#define	LNEG		~
#define	NOTEQ		!=
#define Void		void
#define MsDosCdecl	cdecl
#define CompilerDepMainAttr cdecl

typedef enum	TApplTimers
{
	ApplTimerDisplayTimer	=	1
} TApplTimers;

typedef enum	TApplMsgCode
{
	ApplGetTimeMsgCode		=	28500,
	ApplGetTimeReplyCode,
	ApplGetFileMsgCode,
	ApplPutFileMsgCode,
	ApplTextDataMsgCode,
	ApplTextReplyMsgCode
} TApplMsgCode;


typedef enum	TApplError
{
	ApplErrFileNotFound =	2000,
	ApplErrFileExists,
	ApplErrCreateFileError,
	ApplErrWriteFileError
} TApplError;

typedef struct	TFileTransferInfo
{
	TBoolean	ReplaceFile;
	Int8		SrcFileName[50];
	Int8		TgtFileName[50];
} TFileTransferInfo;


TBoolean	ApplShutdown	GETS	False;
TMdxProcId	CallId;
void		*InitStack;
