VAR type

Hi,

What is the use of passing a function parameter as VAR .

Hi,

it means passing a function parameter by reference.In this case, the parameter is said to be passed by reference or by name. The parameter actually knows the variable’s location in the computer memory that it represents. The parameter passes the computer memory location to the new function. Any changes that the function does to this type of parameter are permanent and do affect variables in the calling trigger.