Function DbClearScope() Foundation
Clears the top and/or bottom scope
DbClearScope( [<nScope>] ) --> NIL
A #define constant listed in STD.CH is used for <nScope>.
Constants for scopes
|SCOPE_BOTH *)||Specifies top and bottom scope.|
|SCOPE_BOTTOM||Specifies the bottom scope|
|SCOPE_TOP||Specifies the top scope|
The return value of DbClearScope() is always NIL.
The function DbClearScope() removes a scope from the controlling order. Either the top, bottom or both scopes can be voided. If no controlling index is active, the scope for the physical order of the current work area is removed.
A scope is defined using the SET SCOPE command or the DbSetScope() function.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.