text: public Record NextRecord(){Record r;r = GetNextUnreadRecord();if (r != null){return r;}while (true){if (!_recStream.HasNextRecord){return null;}_recStream.NextRecord();if (_lastRecordWasEOFLevelZero){if (_recStream.Sid != BOFRecord.sid){return null;}}r = ReadNextRecord();if (r == null){continue;}return r;}}