Removes user variables associated with the specified scope.

Parameter:

scope

The scope (context) with which the variable is associated. (See "About User Variables" below.)

If this parameter is not specified, the global scope is assumed by default.

namePrefix
Specify the prefix of the variable names to be removed.

When specified, only those variables will be removed, whose names start with the given prefix. If not specified, all variables will be removed.

Returns:

the number of variables that have been removed

See Also:

removeVar()

${include ../../refs/user_vars.htm}