Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Why do I get the error "BDL Machine: 21 - RUN dynamic stack expansion failed, cannot allocate memory for stack segment" when calling a function in Silk Performer?

$
0
0
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

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>