Problem
Two strings shall be compared with the DIFF function of Doors
Approach
Assign the string to a buffer using the += operator
Solution
void compareStrings(string string1, string string2)
{
Buffer string1Buff = create;
Buffer string2Buff = create;
Buffer result = create;
string1Buff+=string1;
string2Buff+=string2;
diff(result, string1Buff, string2Buff);
displayRichWithColor(stringOf(result));
delete string1Buff;
delete string2Buff;
delete result;
}