fbpx
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: 106
  • 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's Avatar

  • Chris


  • Posts: 2033
  • 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's Avatar

  • FFF


  • Posts: 976
  • --
    Regards
    Karl (X# 2.5b; Xide 1.25; W8.1/64 German)

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

    Last edit: by FFF.
    • Page:
    • 1