vgLib.concatenateBytes() is one of a number of functions maintained for compatibility with earlier versions. New code can use standard EGL operators for these purposes.
vgLib.concatenateBytes(
target HEX inOut,
source HEX inOut)
returns (result INT)
The following example shows the vgLib.concatenateBytes() function:
phrase, ormeme CHAR(7);
result INT;
phrase = "and/ ";
ormeme = "or";
result = vgLib.concatenateBytes(phrase,ormeme);
if (result == 0)
SysLib.writeStdout("***"+phrase+"***"); // phrase = "and/or "
end