Deletes a dynamic parameter at runtime, freeing its buffer.

Example String and Parameter Functions


lr.freeParameter( param );


Argument Comments
param The name of the dynamic parameter.

The lr.freeParameter function frees the memory allocated at runtime for the specified parameter.

lr.freeParameter frees the memory for parameters created at runtime using functions such as web.regSaveParam or lr.saveString. For other functions that create parameters at runtime, see the String and Parameter Functions and the Web Correlation Functions for JavaScript. For similar functions in other protocols, see the reference for the specific protocol.

Return Values

On success, returns 0. Success means that the following are true:

Otherwise, returns a negative number.


You cannot use standard parameterization for any arguments in this function.