swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Topics   Other Library Functions  
function  

vfs.disconnect

 
 

Library: File system utilities (OMVFS)
Import: omvfs.xmd

Declaration

export external function disconnect
                value directory dir

Argument definitions

dir
A connected vfs.directory object


Purpose

You can use vfs.disconnect to disconnect a vfs.directory connection that is no longer needed. It is not an error to disconnect a vfs.directory that is not connected.

  import "omvfs.xmd" prefixed by vfs.
  
  process
    local vfs.directory program-directory
     	. . .
    set program-directory to vfs.connect "/foo/bin"
  	. . .
    vfs.disconnect program-directory

Exceptions

The following exceptions may occur:

    Related Topics
 
Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.