Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > File Control Methods > Close File MethodThe Close File method closes a file and stops any input or output operations to this file. It does not return a value. When it runs, Siebel VB writes the final output buffer to the operating system buffer for this file. It frees the buffer space that is associated with the closed file. You can use the Close All Files method to cause the operating system to move the data in the buffers to disk. For more information, see Close All Files Method. FormatClose [[#]filenumber [, [#]filenumber ... ]] The following table describes the arguments that you can use with this method. ExampleThe following example opens a file for random access, gets the contents of one variable, and then closes the file. The CreateFile subroutine creates the (general) (declarations) Sub CreateFile Sub Button1_Click |
Siebel VB Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |