Results 1 to 10 of 18

Thread: 2 functions, same name, different parameters - what goes wrong here?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    10,869

    Default Re: 2 functions, same name, different parameters - what goes wrong here?

    No it is not one of the hidden dangers in the language...

    Since DataFlex 7 the language allows developers to create two or more functions with the same name. This was not possible till that version. We introduced a language guide book and AFAIK this describes the RULE that calling functions via expressions is reserved for built-in and global functions and class members should be called via GET.

    Note that expression executes the right function but the return type causes the problem.
    Last edited by Vincent Oorsprong; 14-Aug-2019 at 07:29 AM.
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •