Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > VB Language Reference > Input StatementThis standard VB statement reads data from a sequential file and assigns the data to variables. SyntaxInput [#]filenumber, variable[, variable]...
ReturnsUsageThe filenumber is the number used in the Open statement to open the file. The list of variables is separated by commas. ExampleThis example prompts a user for an account number, opens a file, searches for the account number, and displays the matching letter for that number. It uses the Input statement to increase the value of x and at the same time get the letter associated with each value. The second subprogram, (general) (declarations) Global x as Integer Sub CreateFile Sub Button2_Click See AlsoGet Statement |
![]() |
![]() ![]() |
Siebel VB Language Reference |