Welcome, Guest
Username: Password: Remember me
Please use this forum for suggestions to the XSharp Development Team
  • Page:
  • 1

TOPIC:

Errore with usual 13 Jan 2020 11:33 #12593

  • softdevo@tiscali.it's Avatar
  • Topic Author


  • Posts: 177
  • 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

    Please Log in or Create an account to join the conversation.

    Errore with usual 13 Jan 2020 12:32 #12594

    • Chris
    • Chris's Avatar


  • Posts: 3856
  • Hi Danilo,

    You are right, something is wrong here, thanks for reporting this. Will fix this and will send you a new dll asap!
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Errore with usual 13 Jan 2020 12:33 #12595

    • FFF
    • FFF's Avatar


  • Posts: 1398
  • --
    Regards
    Karl (X# 2.14.0.4; Xide 1.33; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    Last edit: by FFF.
    • Page:
    • 1