On Thu, Sep 18, 2008 at 3:55 PM, Florian Klaempfl
<[EMAIL PROTECTED]> wrote:
>
> Without any further code, the type 'asdf' is not defined, $H means only
> ansistring might be prefered.


So does that mean if you have {$H+} enabled, then in the example
below, the p1(ansistring) version will be called?


 procedure p1 (s : shortstring); overload;
 procedure p1 (s : ansistring); overload;
 procedure p1 (s : widestring); overload;

implementation

procedure main;
begin
  p1('xx');
end;



> I can't help you if you don't get what "= type ..." actually means :)

I'm trying too Florian.  And clearly my initial idea of this was wrong. :-(


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to