MgErr FName(path, name);
Copies the last component name of a specified path into a string handle and resizes the handle as necessary.
| Name | Type | Description |
|---|---|---|
| path | Path | Path whose last component name you want to determine. |
| name | StringHandle | Handle in which FName returns the last component name as a Pascal string. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
| Value | Corresponding Error Code or Description |
|---|---|
| noErr | No error. |
| mgArgErr | 1 |
| mFullErr | 2 |