localsetparam
localsetparam |
Purpose
Synopsis
procedure localsetparam(name:string,val:integer|string|real|boolean)
Arguments
name
|
Name of a control parameter (case insensitive).
|
val
|
New value for the control parameter
|
Further information
1. This procedure is a special version of
setparam that can only be used from a subroutine: the effect of the parameter change is reverted at the end of the subroutine.
2. Independently of the location of the call to this procedure and whether other modifications are performed on the parameter (using for instance
setparam) the original value of the parameter is saved at the beginning of the execution of the routine and restored before its termination.
Related topics