code: func (dt *DbfTable) AddNewRecord() (newRecordNumber int) {
  
  	if dt.dataEntryStarted == false {
  		dt.dataEntryStarted = true
  	}
  
  	newRecord := make([]byte, dt.lengthOfEachRecord)
  	dt.dataStore = appendSlice(dt.dataStore, newRecord)
  
  	// since row numbers are "0" based first we set newRecordNumber
  	// and then increment number of records in dbase table
  	newRecordNumber = int(dt.numberOfRecords)
  
  	//fmt.Printf("Number of rows before:%d\n", dt.numberOfRecords)
  	dt.numberOfRecords++
  	s := uint32ToBytes(dt.numberOfRecords)
  	dt.dataStore[4] = s[0]
  	dt.dataStore[5] = s[1]
  	dt.dataStore[6] = s[2]
  	dt.dataStore[7] = s[3]
  	//fmt.Printf("Number of rows after:%d\n", dt.numberOfRecords)
  
  	return newRecordNumber
  }
docs: // AddNewRecord adds a new empty record to the table, and returns the index number of the record.