Agg_record_encode()

Description:

API procedure,  appends the argument's value to the encoded A-function's or A-event's argument string in preparation for sending this string to the AggreGate server.

Syntax:

sub agg_record_encode(byref encode_string as string, byref field_value as string)

Returns:

Updated encode_string

See Also:

Adding A-functions, Firing Instant A-events


Parameter

Description

encode_string

The argument string being prepared.

field_index

New value to be appended to the string.

Details

Should be called repeatedly if the A-function has multiple arguments.

Can only handle simple, single-value arguments. Need to pass complex arguments containing entire tables? Write your own encoder. The string format is described here: http://aggregate.tibbo.com/docs/en/ap_data_tables_encoding.htm