Siebel VB Language Reference > VB Language Reference >
Input Function
This standard VB function returns a string containing the characters read from a file. Syntax
Input[$](number, [#]filenumber)
|
|
number |
An integer representing the number of characters (bytes) to read from the file |
filenumber |
The number identifying the open file to use |
Returns
The data read from the file, as a string. Usage
The file pointer is advanced the number of characters read. Unlike the Input statement, the Input function returns every character it reads, including carriage returns, line feeds, and leading spaces. The dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string). The input buffer can hold a maximum of 32 K characters. Be aware of this limit when attempting to pass in large amounts of data. Related Topics
Get Statement Input Statement Line Input Statement Open Statement Write Statement
|