Câu ví dụ
- thêm câu ví dụ: 1 2 3 4 5 6 7 8 9 10
- If the record is not found, EOF will be True.
Nếu không tìm thấy bản ghi nào thì giá trị rs.EOF sẽ true. - Do While Not EOF(1) ' Loop until end of file.
Do While Not EOF(1) 'EOF để kiểm tra xem file đã kết thúc chưa? - for (string line; getline(inFile, line); ) { // Read a line, stopping at newline (\n), keep going until EOF (end of file).
for (string line; getline(filein, line);) { // đọc từng dòng tới hết - GetImage(URL object, filename) is used for this purpose.
Hàm EOF (Filenumber) (có kiểu Boolean) được dùng cho mục đích này. - Eof Returns if the end of file is reached.
Nó trả về EOF nếu như nó gặp kết thúc một file.