Re: [fpc-pascal] Helper/function overloads

2019-04-12 Thread Anthony Walter
I'm not sure if this is anything you're interested in but ... You can qualify the of the procedure with the unit or program identifier. program Test; {$mode objfpc} type THelper = class helper for TObject procedure DoThis; end; procedure DoThis(Param: string); begin WriteLn(Param);

Re: [fpc-pascal] Helper/function overloads

2019-04-11 Thread Michael Van Canneyt
On Wed, 10 Apr 2019, Ryan Joseph wrote: Is this a bug or intended behavior? I can call it like Test.DoThis but it seems like overloading should work. {$mode objfpc} program test; type THelper = class helper for TObject procedure DoThis; overload; end; procedure DoThis (param:

[fpc-pascal] Helper/function overloads

2019-04-10 Thread Ryan Joseph
Is this a bug or intended behavior? I can call it like Test.DoThis but it seems like overloading should work. {$mode objfpc} program test; type THelper = class helper for TObject procedure DoThis; overload; end; procedure DoThis (param: string); overload; begin end; procedure