Ejemplo n.º 1
0
//---------------------------------------------------------------------------
int32_t CSVFile::readLong(uint32_t row, uint32_t col, int32_t& value)
{
	int32_t result = seekRowCol(row, col);
	if(result == NO_ERROR)
	{
		value = textToLong(dataBuffer);
	}
	else
		value = 0.0f;
	return(NO_ERROR);
}
Ejemplo n.º 2
0
//---------------------------------------------------------------------------
long CSVFile::readLong (DWORD row, DWORD col, long &value)
{
	long result = seekRowCol(row,col);
	if (result == NO_ERR)
	{
		value = textToLong(dataBuffer);
	}
	else
		value = 0.0f;
	
	return(NO_ERR);
}