Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Concat Function
◄Summary► ◄Details► ◄Example► ◄Back►
Argument
string1 ... stringn String expressions
Returns
<string type> Concatenation of argument strings
Description
The Concat function returns a string composed of string expressions
passed to the function.
String expressions may be string variables, literal characters (a
single character delineated by single quotes), or literal strings
(a sequence of characters delineated by single quotes).
Concat truncates the result if it exceeds 255 characters. If the
result is assigned to a string variable, the result is truncated to
the declared length of the variable.
Concat performs the same operation as the plus operator (+). The
following two statements are equivalent:
result := Concat( string1, string2, string3 );
or
result := string1 + string2 + string3;