Description
The concatCStr statement concatenates two or more C strings into a target C string.
The first argument is the target C string followed by the C
strings to be concatenated, each separated by a comma ','
C strings used with concatCStr must be defined as either an array of characters ( i.e. char ) or array of bytes ( i.e. byte )
Note: the one line C string declaration and initialization works both inside functions ( as shown in the example ) and in main.
Caveats
[a] C strings can represent only single byte characters - same as pascal strings.
[b] C strings can be any length, unlike pascal strings.
[c] C string arrays do not go stale like objects but follow local and global variable's access rules.
[d] C language offers other ways to define C strings as pointers. These are not available in FB yet.
[e] However, FB can pass( to a function for example ) a pointer to the C string.
[f] Unsigned types ( i.e. unsigned char ) are not available yet.
[g] All the C language library string functions( like fn strlen) are available too.
[h] This is not a complete C string implementation. Don't expect the same syntax FB provides for pascal strings ( yet ).