BUFFER_SEARCH must return -1 when STR is not found

Hello all!

I wondered that BUFFER_SEARCH function returns 0 in both cases:

V := _STRING_TO_BUFFER(‘Same string’, 0, ADR(BUF), SIZEOF(BUF));
POS := BUFFER_SEARCH(ADR(BUF), SIZEOF(BUF), ‘Same string’, 0, 0);

Function results 0.

V := _STRING_TO_BUFFER(‘Other string’, 0, ADR(BUF), SIZEOF(BUF));
POS := BUFFER_SEARCH(ADR(BUF), SIZEOF(BUF), ‘Same string’, 0, 0);

Function results 0 too.

buffer search will be updated in the next release and will correctly return -1 if nothing is found