How to dont compare two numbers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • donaldshimoda
    Visitor
    • Jul 2008
    • 9

    How to dont compare two numbers?

    I need in this two expressions to be ignored for the comparer.


    file ONE
    resultado = PumpCH1CheckMsgValidity(datos, SOME);

    file TWO
    resultado = PumpCH2CheckMsgValidity(datos, SOME);

    Then CH1 and CH2 must be the same to the comparer and be ignored.

    Any ideas?
    Last edited by donaldshimoda; 03-May-2011, 03:40 PM.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    If you have BC3 Pro, you can define a Text Replacement in the Text Compare's Session Settings that will treat either:
    CH1 = CH2
    or
    PumpCH1CheckMsgValidity = PumpCH2CheckMsgValidity

    This would be in the Text Compare's Session menu -> Session Settings, Replacements tab.

    If you have BC3 Std (or Pro) you can define a Grammar element that defines your function names or CH1 and CH2, and then mark that grammar as Unimportant in the Text Compare Session Settings. We have a handy KB article and video that go into more detail here:
    http://www.scootersoftware.com/suppo..._unimportantv3

    If you have Std and want to try Pro, see this article:
    http://www.scootersoftware.com/suppo...?zz=kb_evalpro

    Let us know if you have any questions.
    Aaron P Scooter Software

    Comment

    • donaldshimoda
      Visitor
      • Jul 2008
      • 9

      #3
      Originally posted by Aaron
      Hello,

      If you have BC3 Pro, you can define a Text Replacement in the Text Compare's Session Settings that will treat either:
      CH1 = CH2
      It solve my life!

      Thanks a lot for this product, and BT I have PRO WIN AND LINUX. Scooter soft deserve it

      Best regards.

      Comment

      Working...