Siebel VB Language Reference > Quick Reference for Siebel VB Methods > Error Handling Methods >

File Input and Output Quick Reference


The following table lists methods that you can use to manipulate data in a file.

Statement
Purpose
Reference

Eof

Determines if the end of an open file has been reached.

End of File Method

Get

Reads the content of a file, and then places this content in a variable.

Get File Contents Method

Input

Returns a string of characters from a file.

Get Characters From File Method

Input filenumber, variable

Reads data from a file, and then saves this data to different variables.

Parse File Contents Method

Line Input

Reads a line from a sequential file, and then saves it in a string variable.

Get Line From File Method

Loc

Returns the current offset of a file.

Get File Offset Method

Print

Prints data to a file or to the screen.

Print Data to File Method

Put

Writes a variable to a file.

Write Variable to File Method

Seek filenumber

Returns the current position for a file.

Get File Position Method

Seek filenumber, position

Sets the position of the next read or write operation in an open file.

Set File Position Method

Spc

Prints a number of spaces.

Print Spaces Method

Tab

Sets the current print position.

Set Print Position Method

Width

Sets the output line width for an open file.

Set File Width Method

Write

Writes data to a sequential file.

Write Data to File Method

Siebel VB Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.