Look at this code, if I omit to indicate the type of the value to return of the MyFunc function, the value of cVal is not Empty.
In previous versions it was not like that, I think.
Thank you
Danilo
FUNCTION start AS VOID
LOCAL cVal AS STRING
cVal := MyFunc()
? empty(cVal)
WAIT
RETURN
FUNCTION MyFunc() // AS STRING
LOCAL cVal AS STRING
RETURN cVal
Errore with usual
Errore with usual
Hi Danilo,
You are right, something is wrong here, thanks for reporting this. Will fix this and will send you a new dll asap!
You are right, something is wrong here, thanks for reporting this. Will fix this and will send you a new dll asap!
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu