OnSave  Array

The OnSave event is called for each item when the array is saving.

Syntax

String Array.OnSave(
     Integer index,
     Pointer obj)

Parameters

indexIndex of the item to save.
objReference of the item to save.

Return value

The OnSave event returns a line that will be written into file.

Example

message String Application.Array.OnSave(Integer index, Pointer obj)
{
    Value value
    value = obj
    return value.GetString()
}
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia