From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jamie McCracken Sent: donderdag 2 juni 2005 16:32
>var strlist : TStringlist; >strlist := Tstringlist.create; > >I know strlist is a Tstringlist, the compiler knows it too as I have >declared it so why do I have to spell it out in the creation process? What to do with virtual constructors or variables of a lower class ? ie. var strlist: TStrings; strlist := Tstringlist.create; or var strlist: TStrings; listclass: TStringsClass; listclass := TStringlist; strlist := listclass.create; Marc _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel