This error is caused if you attempt to pass a parameter to a function by value and then attempt to change the parameter within the function. For example, if you have a function declared as follows: function fTest(sParam: string) begin print (sParam); sParam := "New param"; end fTest; and call it in your transaction using fTest("String"); you will get the error. If you wish to change the parameter within the function you must pass it by reference. In the example above you could use something like: sString: "String Value"; fTest(sString); //pass value stored in variable Old KB# 19750
↧