The passed string empty when using a double as the first parameter ?
Is there a workaround that doesn't involve putting str(5000) into a variable before calling the library ?
Thanks.
libTest.pb
Code: Select all
ProcedureDLL doubleTest(a.d, text$, z.f)
Protected message$
message$ + "a = " + StrD(a) + #CRLF$
message$ + "text$ = " + text$ + #CRLF$
message$ + "z = " + StrF(z)
MessageRequester("Results",message$)
EndProcedure
ProcedureDLL floatTest(a.f, text$, z.f)
Protected message$
message$ + "a = " + StrF(a) + #CRLF$
message$ + "text$ = " + text$ + #CRLF$
message$ + "z = " + StrF(z)
MessageRequester("Results",message$)
EndProcedure
Code: Select all
doubleTest(99.12345,Str(5000), 99.12345)
floatTest(99.12345,Str(5000), 99.12345)