Siebel VB Language Reference > Quick Reference: Statements and Functions >

Files: File Input/Output


The following functions and statements are for file input and output.

Function or Statement
Purpose
For More Information
Close
Closes a file
Eof
Checks for end of file
FreeFile
Returns the next unused file number
Get
Reads bytes from a file
Input Function
Returns a string of characters from a file
Input Statement
Reads data from a file or from the keyboard
Line Input
Reads a line from a sequential file
Loc
Returns the current position in an open file
Lock
Controls access to some or all of an open file by other processes
Lof
Returns the length of an open file
Open
Opens a disk file for I/O
Print
Prints data to a file or to the screen
Put
Writes data to an open file
Reset
Closes all open disk files
Seek Function
Returns the current position for a file
Seek Statement
Sets the current position for a file
Spc
Outputs a given number of spaces
Tab
Moves the print position to the given column
Unlock
Controls access to some or all of an open file by other processes
Width
Sets the output-line width for an open file
Write
Writes data to a sequential file


 Siebel VB Language Reference
 Published: 18 June 2003