What do you mean Nevan?

You can call TShowOff.Static1() from way back in Delphi, if it is declared as 
Chee Wee Chua pointed out.

class variables were introduced later.

Todd.

On Wed, 25 Jul 2007 20:18, Neven MacEwan wrote:
> Dennis
>
> > Class methods have been around since Delphi 2.  Where have you been
> > all these years?
>
> Not explicitly, as I said, you cannot for example call them on the
> class, you call them on a nil instance
> which is hardly elegant php for example you would call a class method by
> TClass::Method()
>
> To reinforce this, why did they introduce a 'class' keyword if they were
> already there?
>
> N
>
> > Class types, consts and vars came in D2006, I think, or might be in
> > D2005.
> >
> > ----- Original Message ----- From: "Neven MacEwan" <[EMAIL PROTECTED]>
> > To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz>
> > Sent: Wednesday, July 25, 2007 7:25 PM
> > Subject: Re: [DUG] basic question
> >
> >> J
> >>
> >> My point is Delphi (generic) does not have Class Methods/Vars or
> >> are you saying that 'Delphi' only applies to D2005+
> >>
> >> As for sarcasm, its a matter of opinion I found his response smug.
> >>
> >> N
> >>
> >>> I'll answer for Chee Wee (not Chee - common mistake)
> >>>
> >>> These articles were by Nick about changes since Delphi 7.
> >>> http://dn.codegear.com/article/34325 (VCL)
> >>> http://dn.codegear.com/article/34323 (IDE)
> >>> http://dn.codegear.com/article/34324 (Language)
> >>>
> >>> I don't think his original reply was sarcastic either. Why would he
> >>> need to clarify something, you're the one that didn't do any research
> >>> before saying something. Especially when coming from a version that is
> >>> like 6 years old
> >>> (http://delphi.wikia.com/wiki/Borland_Compiler_Release_Dates).
> >>>
> >>> Even if you don't run the latest version, it is hardly a great effort
> >>> to subscribe to some blogs (www.delphifeeds.com).
> >>>
> >>> As for when they came in, they are a by product of Delphi.NET. So
> >>> codegear doing .NET was good for something! So they came into the
> >>> win32 around D2005 and have become less buggy each release since.
> >>>
> >>> cheers,
> >>> Jeremy
> >>>
> >>>> Chee
> >>>>
> >>>> When did they sneak in?, Before you get all sarcastic I'd suggest you
> >>>> clarify things,
> >>>> Some of us are using older versions (D6 in my case)
> >>>
> >>> _______________________________________________
> >>> NZ Borland Developers Group - Delphi mailing list
> >>> Post: delphi@delphi.org.nz
> >>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> >>> Unsubscribe: send an email to [EMAIL PROTECTED] with
> >>> Subject: unsubscribe
> >>
> >> _______________________________________________
> >> NZ Borland Developers Group - Delphi mailing list
> >> Post: delphi@delphi.org.nz
> >> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> >> Unsubscribe: send an email to [EMAIL PROTECTED] with
> >> Subject: unsubscribe
> >
> > _______________________________________________
> > NZ Borland Developers Group - Delphi mailing list
> > Post: delphi@delphi.org.nz
> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > Unsubscribe: send an email to [EMAIL PROTECTED] with
> > Subject: unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [EMAIL PROTECTED] with Subject:
> unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to