psProgramPath - cWorkspace
Contains the path(s) of the Workspace used to store the compiled programs.
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psProgramPath
| Access Type | Syntax |
|---|---|
| Read Access: | Get psProgramPath to StringVariable |
| Write Access: | Set psProgramPath to StringVariable/Value |
Description
The psProgramPath property will not have a value until a Workspace has been opened (using, for example, the OpenWorkspace or OpenWorkspaceFile functions). You can also set this property before opening a Workspace. When you do, this property will not be modified during the opening of a Workspace.
The value of this property corresponds to the ProgramPath entry in the Workspace file; however, it differs in that while the entry in the Workspace file can contain relative paths, this property will always contain the paths fully qualified.
You can discover how many paths are contained in this property by using the CountOfPaths function, and you can retrieve an individual path by using the PathAtIndex function.