IntControl 103

Syntax:

IntControl(102, p1, 0, 0, 0)

 

Instructs the interpreter to clear memory associated with a string when a string is returned to the free string pool

p1  @True (1)  to clear freed strings. @False (0) to not clear string memory (the default.)

IntControl 103 returns the previous setting.

Use this IntControl to remove sensitive information from the WIL process's string pool when a string is returned to the pool.

Strings are returned to the string pool in several ways. For example, when a new value is assigned to the variable containing the string or when a variable containing a string is passed to a function. In the later case, the interpreter makes a copy of the string to pass to the function and frees the copy when the function returns.

Note: that setting this IntControl setting can have a negative impact on script execution time. It should only be set when the script is handling sensitive data and turned off as soon as strings containing sensitive data have been returned to the string pool.