CSVOpen

6.6/7
Apre un CSV come se aprisse un TXB,

Sintassi

PS_TXB CSVOpen(UTF8* utfFileName, BOOL bUtf8ToAnsi);

Parametri


Valori di ritorno

File TXB

Commenti


	PS_TXB psTxb;
	psTxb=CSVOpen(utfFileName, false);
	if (psTxb) {

		// Intestazione con i nomi
		for (a=0;a<psTxb->iFieldCount;a++)
		{
			printf("Nome campi: %s",psTxb->lpFieldInfo[a].lpName);
		}

		// Inserisco le righe
		for (i=0;i<psTxb->iRealLines;i++)
		{
			txbRealGet(psTxb,i);
		}
		txbClose(psTxb);
	}


Easyhand C/C++: CSVOpen | Last modified: 27/01/2016 11.33.30 Europe/Rome | #1.1668
P.. 1105
Easyhand C/C++
Una mano alle tue idee.
Privacy Policy