5 Replies Latest reply: May 22, 2013 7:31 AM by Amuthabharathi Subramanian RSS

    Variables with SET - fine; with LET, the script causes errors?

    Friedrich Hofmann



      I have a numeric variable in my script - a price_per_minute. Up until now, that variable was fixed with >SET<, that worked fine.

      Now that price_per_minute is calculated from a price_per_hr. So I thought it would make things smoother to use SET for that price_per_hr and consequently use LET for calculating the price_per_minute.

      That, however, does not work: The script causes an error in the line where that variable (the price_per_minute) is being used in a LOAD statement.

      Can anybody tell me why?

      Thanks a lot!

      Best regards,