//--------------------------------------------------------------------------- int32_t CSVFile::readShort(uint32_t row, uint32_t col, int16_t& value) { int32_t result = seekRowCol(row, col); if(result == NO_ERROR) { value = textToShort(dataBuffer); } else value = 0.0f; return(NO_ERROR); }
//--------------------------------------------------------------------------- long CSVFile::readShort (DWORD row, DWORD col, short &value) { long result = seekRowCol(row,col); if (result == NO_ERR) { value = textToShort(dataBuffer); } else value = 0.0f; return(NO_ERR); }