首页>
外国专利>
Method and system for detecting and correcting errors in a spreadsheet formula
Method and system for detecting and correcting errors in a spreadsheet formula
展开▼
机译:用于检测和纠正电子表格公式中的错误的方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
In association with a computer system, a method and system for detecting and correcting errors in a spreadsheet formula. A token is created corresponding to each entry in the formula. As the formula is constructed, each token is added to the top of a formula token stack. When the formula is completed, a parser parses the formula token stack starting at the bottom of the stack and parsing each subsequent token. By examining the tokens in the formula token stack and their relationship to other tokens, the system determines whether an error exists in the formula. If an error is found to exist in the formula, an error class code is assigned to the error corresponding to the type of error. An error corrector rule corresponding to the error class code is applied and identifies a correction for the error. After a correction for the error is identified, the remainder of the formula token stack is parsed to detect and correct any other errors. When the entire formula token stack has been parsed and all detected errors have been corrected, a dialog box is displayed containing the completely corrected formula.
展开▼