A bug with String export function by using tailbite?

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

peterhu
New User
New User
Posts: 1
Joined: Wed Mar 31, 2010 7:33 am

A bug with String export function by using tailbite?

Post 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?
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

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

Post by ABBKlaus »

its a known issue, you have to use a variable to hold the result of the function call.

BR Klaus
Post Reply