Load and with

Anybody can explain the difference between load and with functions?

  Discussion posts and replies are publicly visible

Parents
  • Load()
    ->Define local variables within an expression for a SAIL interface and evaluate the expression with local variables.
    ->Retrieve data sets once and not have to get multiple times in an expression.
    ->We can also used to create variables that capturing same data just like any other variable on a form. However, these variables only store data for a length the user is looking and interacting with a screen. When the user freshers or leaves screen the data in the local variables deleted.
    With()
    ->Define local variables within a function and evaluate the expression with the new variables.
    ->It recalculates the local variable values each time the expression is reevaluated.
    ->The expression defined in load and with functions can also contain the other variables such as rule inputs and process variables etc.,
    ex:- load(local!a:1,local!a+rule!b) which returns 2(assuming the rule!b value as 1).
Reply
  • Load()
    ->Define local variables within an expression for a SAIL interface and evaluate the expression with local variables.
    ->Retrieve data sets once and not have to get multiple times in an expression.
    ->We can also used to create variables that capturing same data just like any other variable on a form. However, these variables only store data for a length the user is looking and interacting with a screen. When the user freshers or leaves screen the data in the local variables deleted.
    With()
    ->Define local variables within a function and evaluate the expression with the new variables.
    ->It recalculates the local variable values each time the expression is reevaluated.
    ->The expression defined in load and with functions can also contain the other variables such as rule inputs and process variables etc.,
    ex:- load(local!a:1,local!a+rule!b) which returns 2(assuming the rule!b value as 1).
Children
No Data