⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kld01dlg.h

📁 用EVC4.0实现的一种类似于BASIC的编程语言,可以实现基本的编程并可以执行
💻 H
字号:
// kld01Dlg.h : header file
//

#if !defined(AFX_KLD01DLG_H__C4615FED_C6A2_42DF_8B92_A2A629F8AE0A__INCLUDED_)
#define AFX_KLD01DLG_H__C4615FED_C6A2_42DF_8B92_A2A629F8AE0A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CKld01Dlg dialog

class CKld01Dlg : public CDialog
{
// Construction
public:
	void errcommand(int errmode);
	bool IsPrimeNum(long Prime);
	bool TestEXP(CString temp);
	void PUSHOPER(CString temp);
	int ISP(CString temp);
	CString POPTRACK();
	void PUSHTRACK(CString temp);
	double Analyse(CString MyAnalyse);
	int GetStyleCode(CString temp);
	int AddNewCyc(CString CycName, int i);
	int searchcycshed(CString ShedName);
	int ParCmp(int i,CString CommandName);
	int AddNewVar(CString VarName,int varstyle);
	int ParTest(int i);
	void MakeLet(int i);
	int VarCmp(CString temp1,CString temp2);
	int CreateParTable(CString temp);
	int CreateVarTable(CString temp);
	void MakeJumps(int i,CString temp1);
	void MakePrint(int i);
	int CreateNewVar(int line,int varIndex);
	int CreateVarTable();
	int searchVar(CString temp);
	int CreateNewJump(int JumpIndex);
	int searchJump(CString temp);
	void toerr(int linenum,int index,int errmode);
	int CreateNewMacro(int NameIndex);
	void CreateJumpTable();
	int RunCommand(int i1, int i2);
	void RunMacro(CString MacroName);
	int searchMacro(CString temp);
	int currentMacroNum();
	CKld01Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CKld01Dlg)
	enum { IDD = IDD_KLD01_DIALOG };
	CListBox	m_varIndex;
	CListBox	m_jumpIndex;
	CListBox	m_defMacro;
	CListBox	m_list2;
	CString	m_edit;
	CString	m_f;
	CString	m_textlist;
	CString	m_count;
	int		m_list1;
	CString	m_jump;
	int		m_macronum;
	CString	m_CommandMode;
	CString	m_defMacroIndex;
	int		m_var;
	CString	m_open_file;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKld01Dlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CKld01Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRun();
	virtual void OnOK();
	afx_msg void OnOpenfile();
	afx_msg void OnSavefile();
	afx_msg void OnNew();
	afx_msg void OnClearf();
	afx_msg void OnSelchangeList4();
	afx_msg void OnRunselectmacro();
	afx_msg void OnSetfocusEdit2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KLD01DLG_H__C4615FED_C6A2_42DF_8B92_A2A629F8AE0A__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -