ConfirmRecord()

ConfirmRecord()

Description

This function erases all records that was read.

Syntax

ConfirmRecord();

Returns

Return value

Return explanation

SCRIPT_OPERATION_SUCCESS

Success

Function call example

example of confirm record
new sensor_buffer[1000]; new tmp = 0; main() { for(;;) { if(ReadRecord(PARSE_RECORD, SensorBuffer, 0)) // check if ReadRecord is not empty and store records into internal array named `sensor_buffer` { GetSensor(SensorBuffer, Sensor_Course, tmp); // get `SENSOR_COURSE` into variable named `tmp` from array named `sensor_buffer` } ConfirmRecord(); // this will erase all read PARSE_RECORD information Delay(1000); } }

Used in Examples:

Records guide