xsharp.eu • Errore with usual
Page 1 of 1

Errore with usual

Posted: Mon Jan 13, 2020 10:33 am
by softdevo@tiscali.it
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

Posted: Mon Jan 13, 2020 11:32 am
by Chris
Hi Danilo,

You are right, something is wrong here, thanks for reporting this. Will fix this and will send you a new dll asap!

Errore with usual

Posted: Mon Jan 13, 2020 11:33 am
by FFF
--