Jump to content

Overload is not working

Recommended Posts

Hi everyone!


I have been playing a bit with the 1.1 beta 2 (the lattest version currently available) and I have found that it is not possible to overload some methods. I presume it depends on its parameters,because it is not on all overloaded methods.


Here is a sample:

constructor CreateAndFillPrepare(ADatabase: TmORMotClient; FormatSQLWhere: string; const BoundsSQLWhere: array of string); overload; 
constructor CreateAndFillPrepare(ADatabase: TmORMotClient; FormatSQLWhere: string); overload; 


The compiler always complies with:


Syntax Error: Method "CreateAndFillPrepare" of class "TmORMotRecord" not implemented [line: 65, column: 17, file: mORMotClient]


Syntax Error: There is no overloaded version of "CreateAndFillPrepare" declared with these arguments [line: 924, column: 27, file: mORMotClient]


Or if I use a parameter of the method, maybe it tells


Syntax Error: Unknown name "BoundsSQLWhere" [line: 927, column: 44, file: mORMotClient]


Can somebody confirm it?


Best regards,



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...