CsvBlockNew

 

The 'CsvBlockNew' function creates a new comma-block memory.

int @ CsvBlockNew (int column, int row);

 

Parameters

int column : Number of columns in newly created memory.

int row : Number of rows in newly created memory.

Return Value

If an error occurs during creating the memory, it returns -1.

If it returns another numbers, it is the connection number.


Example

@ CsvBlockFree ($ ID);
$ ID = @ CsvBlockNew (2,50);
@ CsvBlockSet ($ ID, "ex.txt", 0);
Description: It frees the previous block. And loads the file into the memory(Row 2, Column 50). Then tag is assigned to a value of the first row in ex.txt.

 

Relate items)

@CsvBlockDelete()

@CsvBlockFree()

@CsvBlockGet()

@CsvBlockGetText()

@CsvBlockInsert()

@CsvBlockLoad()

@CsvBlockNew()

@CsvBlockSave()

@CsvBlockSearchPos()

@CsvBlockSet()