3 Replies Latest reply on Aug 23, 2012 9:44 PM by philmodjunk

    Script = 0

    Kirk_1

      Title

      Script = 0

      Post

      This script is producing a 0.

      If i break out the $discount_min, $discount_pct, and get rid of the let statement, they populate assigned fields correctly. I can see $toplinenumber in my data viewer. So i know that i have numbers to work with.

      I don't have the syntax correct, can you see what it is?

       

      Let ( [
          ~min = GetValue ( $discount_min ; $counter ) ;
          ~pct = GetValue ( $discount_pct ; $counter )
      ] ;
          ~pct * $toplinenumber
      )