首页> 外国专利> 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.
机译:与计算机系统相关联的是一种用于检测和校正电子表格公式中的错误的方法和系统。将创建与该公式中的每个条目相对应的令牌。在构造公式时,每个令牌都将添加到公式令牌堆栈的顶部。公式完成后,解析器将从堆栈的底部开始解析公式令牌堆栈,然后解析每个后续令牌。通过检查公式令牌堆栈中的令牌及其与其他令牌的关系,系统可以确定公式中是否存在错误。如果在公式中发现错误,则将错误类代码分配给与错误类型相对应的错误。应用与错误类别代码相对应的纠错规则,并标识对错误的纠正。识别出错误的更正后,将对公式令牌堆栈的其余部分进行解析,以检测并更正任何其他错误。解析了整个公式标记堆栈并纠正了所有检测到的错误后,将显示一个对话框,其中包含已完全校正的公式。

著录项

  • 公开/公告号US5842180A

    专利类型

  • 公开/公告日1998-11-24

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19960625535

  • 发明设计人 KARAN KHANNA;EDWARD A. MARTINEZ;

    申请日1996-03-28

  • 分类号G06F5/00;

  • 国家 US

  • 入库时间 2022-08-22 02:09:32

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号