DBappendStatement


Synopsis

DBappendStatement appends a string to another string.

Input ports

string_a string
string_b string
process int

Parameters

None

Output ports

result_string string

Description

DBappendStatement appends a string to another string and returns the resulting string. This module is useful for constructing SQL statements.

Note: The values of string_a and string_b parameters can be as long as the maximum length of the AVS/Express string datatype. However, because result_string can also be the same maximum length, you should ensure that the combined length of string_a and string_b is no longer than the maximum length of the AVS/Express string datatype.

Input Ports

string_a

A string. The maximum length is the same as the maximum length allowed for the AVS/Express string datatype.

string_b

A string. The maximum length is the same as the maximum length allowed for the AVS/Express string datatype.

process

A trigger that initiates execution of the append operation. A value of 1 executes the operation; a value of 0 does not execute the operation.

Parameters

None

Output ports

result_string

A string that consists of string_a with string_b appended. The maximum length is the same as the maximum length allowed for the AVS/Express string datatype.

File

v/db.v

See Also