Page 1 of 1

A bug with String export function by using tailbite?

Posted: Wed Mar 31, 2010 7:47 am
by peterhu
I found a bug with String export function,for example:

Code: Select all

ProcedureDLL.s TestStr(InputStr.s)
  ProcedureReturn InputStr
EndProcedure
First I Build it to userlib by tailbite,then I call it in next application,for Example:

Code: Select all

InputStr.s="hello"
Debug TestStr(InputStr+"123")
but the debug output is: "hello123hello123"

My PB version is 4.40, Who can tell me what's wrong about it?

Re: A bug with String export function by using tailbite?

Posted: Wed Mar 31, 2010 11:11 am
by ABBKlaus
its a known issue, you have to use a variable to hold the result of the function call.

BR Klaus