Function WorkSpaceList() Foundation

Retrieves alias names of all used work areas in a work space.

Syntax
WorkSpaceList( [<nWorkSpace>] ) --> aAliasNames
Parameters
<nWorkSpace>
Constants from DMLB.CH must be used for the optional argument <nWorkSpace>. It specifies the work space in which WorkSpaceList() is executed. The following table lists all valid constants:
Constants to specify the work space
Constant Description
DB_ZEROSPACE WorkSpaceList() is executed in the Zero space
DB_WORKSPACE *) WorkSpaceList() is executed in the current work space
  1. default
Return

The function returns a one-dimensional array. It contains character strings with the alias names of all used work areas. If no work area is used, an empty array is returned.

Description

With the function WorkSpaceList(), the number of work areas used at a given time can be determined as well as a list of all alias names in use. The function is a specialized form of WorkSpaceEval().

Feedback

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.