🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #467

Re: Assembly

#467
From: Marc Rohloff TeamB
Date: Mon, 11 Oct 2004 20:31
17 lines
1429 bytes
On Mon, 11 Oct 2004 18:48:36 +0300, Stefanidis Dimitris wrote:

> In TWinForm2
> public
> class function Foo_Ex(aString:String):String;

Delphi class functions aren't 100% compatible with .NET 'static'
functions. 

If you want a /NET compatible static function define it as"
 class function Foo_Ex(aString:String):String; static;

Although now you can't use self inside of foo_ex.

-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <193806g05jowf$.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <416a6b58@newsgroups.borland.com> <160pc6hq54s6u.dlg@marcrohloff.40tude.net> <416aab1c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,f1ab105b74fcb56e
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Assembly
Newsgroups: borland.public.delphi.winforms.controls.using
User-Agent: 40tude_Dialog/2.0.14.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <416a6b58@newsgroups.borland.com> <160pc6hq54s6u.dlg@marcrohloff.40tude.net> <416aab1c$1@newsgroups.borland.com>
Date: Mon, 11 Oct 2004 16:31:11 -0400
Message-ID: <193806g05jowf$.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.225.100.254
X-Trace: newsgroups.borland.com 1097526550 4.225.100.254 (11 Oct 2004 13:29:10 -0700)
Lines: 17
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail