Procedure Close closes the specified text file.
If the filename includes a fully qualified path, the path has to use the appropriate notation for the local operating system:
: Macintosh HD:Applications:VectorWorks:Plug-Ins:Data:Notes.txt
: C:\Program Files\VectorWorks\Plug-Ins\Data\Notes.txt
If the filename includes a path relative to the location of the VectorWorks executable, the subfolder delimiters have to be backslashes:
: Plug-Ins\Data\Notes.txt
If the filename does not include a path, the file is assumed to exist in the same folder as the VectorWorks executable.
PROCEDURE Close(fileName : STRING);def vs.Close(fileName):
return None| Name | Type | Description |
|---|---|---|
| fileName | STRING | Name of file to close. |
Availability: from All Versions