Function Concat combines, or concatenates, all the specified parameters in order and returns the resultant string.
FUNCTION Concat(txt : DYNARRAY[] of CHAR): DYNARRAY[] of CHAR;def vs.Concat(txt):
return DYNARRAY[] of CHAR| Name | Type | Description |
|---|---|---|
| txt | DYNARRAY[] of CHAR |
_c_, 2015.05.23: You can use Concat to convert numbers to strings, but it uses exclusively a dot "." as symbol for the decimal marker, it outputs the number as seen from inside VS. See the table below for a list of routines formatting according to your system's settings.
Decimal marker symbol usage
| Metric: ',' Example | American '.' Example |
|---|---|
| 100,123 | 100.123 |
| Formatting routines | Non formatting routines |
|---|---|
Num2Str, Num2StrF, Angle2Str, Area2Str, Volume2StrNum2Str(3, 100.123) { --> 100,123 on metric systems }Num2Str(3, 100.123) { --> 100.123 on American systems } |
ConcatConcat(100.123) { --> 100.123 on any system } |
AlrtDialog(Concat('A', 'sample', 'string'));vs.AlrtDialog(vs.Concat('A', 'sample', 'string'))Availability: from All Versions