Errore with usual

Have some feedback and input to share?
Don't be shy and drop us a note. We want to hear from you and strive to make our site better and more user friendly for our guests and members a like.
Post Reply
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Errore with usual

Post 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
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Errore with usual

Post 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!
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Errore with usual

Post by FFF »

--
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Post Reply