OnLoad  Array

The OnLoad event is called for each item when an array file is loading.

Syntax

Pointer Array.OnLoad(
     Integer index,
     String line)

Parameters

indexIndex of the new item.
lineLine of the new item from the file.

Return value

The OnLoad event returns the reference of the new item object.

null can be returned.

Example

message Pointer Application.Array.OnLoad(Integer index, String line)
{
    Value value
    value = new Value
    value.SetString(line)
    return value
}
SECCIA Documentation - Copyright © 2001-2013 Sylvain Seccia