static public VarInfo HandleConst_Special(string expression) { expression = RemoveSpacing(expression); // the first character of bool value must be "$" string value = expression.Remove(0, 1).ToUpper(); return(new VarInfo(SpecialConstHandler.GetConst(value))); }
private List <string> FindAllConstName() { List <string> result = SpecialConstHandler.GetAllConstName(); for (int i = 0; i < result.Count; i++) { result[i] = "$" + result[i]; } return(result); }
public static void Main(string[] args) { /// initialize backend FunctionHandler.InitBuiltInFunctions(); SpecialConstHandler.InitBuiltInConst(); Application.EnableVisualStyles(); //Application.Run(new MainInterface()); Application.Run(MainInterface.Instance); /** * Application.Run(new frmMain()); **/ }